Skip to content

pacman: add Pacman game#14

Open
tsuna wants to merge 4 commits intoconejoninja:mainfrom
tsuna:pacman-game
Open

pacman: add Pacman game#14
tsuna wants to merge 4 commits intoconejoninja:mainfrom
tsuna:pacman-game

Conversation

@tsuna
Copy link
Copy Markdown

@tsuna tsuna commented Feb 8, 2026

Replace Accelerometer with a Pacman-style game.
Navigate the maze, eat dots, and avoid ghosts.


This is part of a stack of PRs:

When navigating the home menu with up/down buttons, wrap around
from the first item to the last and vice versa.

Also improved button handling to use per-button press tracking
instead of a single 'released' flag, and reduced sleep interval
from 200ms to 100ms for more responsive navigation.
- Add poison apple (purple) that shrinks the snake by 1 block if eaten
- Add sparkle animation when eating apples
- Add pre-game menu to toggle sound on/off
- Rename color variables for clarity (bk->blk, re->red, gr->grn)
- Add YELLOW color constant to main.go
- Add bk variable to gameoflife.go for compatibility
Replace GopherCon Schedule with a reaction time tester game.
Press A when the screen turns green to measure your reaction time.

Also removes the now-unused schedule code and data.
Replace Accelerometer with a Pacman-style game.
Navigate the maze, eat dots, and avoid ghosts.
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