Prevent pausing the game #8

Closed
opened 2023-11-23 22:48:22 +01:00 by sacha · 1 comment
Owner

When snek is going right, pressing left pauses the game. Build a function that checks the direction of snek and if it is possible to move into that direction or not.

When snek is going right, pressing left pauses the game. Build a function that checks the direction of snek and if it is possible to move into that direction or not.
Author
Owner

Works! 🥳

Works! 🥳
sacha closed this issue 2023-11-23 23:46:13 +01:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: golang/snake#8
No description provided.