debugfest / debugfest/snake-game

Add Snake Wrap-Around Mode

Open
#9 2 comments 0 reactions 1 assignee Claimed by @Shivam1817 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.