Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GH-370] Start implement bot behavior #446

Merged
merged 12 commits into from
Apr 17, 2024

Conversation

agustinesco
Copy link
Contributor

@agustinesco agustinesco commented Apr 8, 2024

Part of #370

This pr will implement a decision making/action execution cicle with some helpers functions like a vector module to work with vectors and an utils module to manage the nested game state

every 200 ms the bot will decide what action i'll make
every 30ms the bot will send to the server the action he wants to execute

In order to make the bots move you need to run the following command in the elixir application System.put_env(“BOTS_ACTIVE”, "true")

@agustinesco agustinesco changed the title [GH-370] Start implement bot movement behavior [GH-370] Start implement bot behavior Apr 9, 2024
@agustinesco agustinesco marked this pull request as ready for review April 9, 2024 17:09
Copy link
Contributor

@lotuuu lotuuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functionality works! Left some code comments

Copy link
Contributor

@lotuuu lotuuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missclick

lotuuu
lotuuu previously approved these changes Apr 11, 2024
apps/bot_manager/lib/bot_state_machine.ex Outdated Show resolved Hide resolved
apps/bot_manager/lib/bot_state_machine.ex Outdated Show resolved Hide resolved
apps/bot_manager/lib/game_socket_handler.ex Outdated Show resolved Hide resolved
apps/bot_manager/lib/game_socket_handler.ex Outdated Show resolved Hide resolved
apps/bot_manager/lib/game_socket_handler.ex Outdated Show resolved Hide resolved
Co-authored-by: Nicolas Continanza <[email protected]>
@ncontinanza ncontinanza merged commit 25c7149 into main Apr 17, 2024
1 check passed
@ncontinanza ncontinanza deleted the start-implementing-bot-movement branch April 17, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants