debugfest / debugfest/snake-game
Add Snake Wrap-Around Mode
Open
enhancement
good first issue
hacktoberfest
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Introduce an optional mode where the snake wraps around the screen (when it exits one side, it appears on the opposite side) instead of dying when hitting a wall. Let users toggle this in the main menu.
**Tasks:**
- Implement wrap-around logic for grid boundaries.
- Add a toggle for classic vs. wrap-around mode in the UI.
- Update game instructions and README.
**Why:**
Introduces basic conditional logic and UI toggling, plus enhances replayability.
Contributor guide
Assessment
This issue has not been assessed yet.