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

Optimize storage of turns #65

Open
hampfh opened this issue Feb 27, 2023 · 1 comment
Open

Optimize storage of turns #65

hampfh opened this issue Feb 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@hampfh
Copy link
Owner

hampfh commented Feb 27, 2023

Instead of storing the board for each move, a match could simply have a string called moves formatted in the same way that the bots return, aka "0" = UP, "1" = LEFT, "1,1,1,2" = Place wall at (1,1) (1,2) etc. Where each move is separated with a comma, starting with the green player.

@hampfh hampfh added the enhancement New feature or request label Feb 27, 2023
@hampfh
Copy link
Owner Author

hampfh commented Feb 27, 2023

Example:
move: 0,0,0,1,(1_1_1_2),3
Green: UP
Red: UP
Green: UP
Red: LEFT
Green: Place wall at (1,1,1,2)
Red: RIGHT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant