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

Snake game #51

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Snake game #51

wants to merge 5 commits into from

Conversation

LeonGuertler
Copy link
Owner

No description provided.

@LeonGuertler LeonGuertler linked an issue Feb 15, 2025 that may be closed by this pull request
@bobbycxy
Copy link
Collaborator

  1. The board is updated for both players after player 1 finishes its move. This means player 1 doesn't see player 0's last move. I presume player 1 should be able to see player 0's move.

  2. Also, if player 0 has " # # 0 . . " on row 1 , but then chooses to go left ([a]), it's an invalid move. But it's not invalid when it's " . # 0 . . ", and then it chooses to go left ([a]). So, it flips " . 0 # . . ". I presume it should be invalid too?

image
  1. I was also able to swap positions between them in the shown image when they are of length 0. I presume they shouldn't.

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.

Add Snake Game
2 participants