Snake Game Final Implementation by djbirdsall · Pull Request #99 · USF-OS/FogOS · GitHub
Skip to content

Snake Game Final Implementation#99

Open
djbirdsall wants to merge 5 commits into
USF-OS:mainfrom
djbirdsall:main
Open

Snake Game Final Implementation#99
djbirdsall wants to merge 5 commits into
USF-OS:mainfrom
djbirdsall:main

Conversation

@djbirdsall

Copy link
Copy Markdown

Snake Game for FogOS created by Duncan Birdsall and Suhani Narayan @snarayan57982

Command:
The "/snake" command will initiate a terminal-based rendition of the classic Snake game. Players will maneuver the snake using keyboard controls, guiding it to consume food and grow while steering clear of collisions with both the walls and the snake’s body.

System Changes:
Added a function to read keys in console.c that allows for individual arrow keys to be read constantly without having to wait to be woken up by a keyboard interrupt like the current read function.

Known Issues:
Eventually, game will malfunction and artifacts will flood the screen (suspected overflow error).

@malensek

Copy link
Copy Markdown
Contributor

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.

2 participants