Snake game array and tail logic fixes
By RepoJournal , from @anurag629's public GitHub activity
Backfilled
Anurag Verma pushed seven commits to Snake-Game-C, working through array initialization, tail reduction, and output cleanup.
The work centered on the snake's movement and collision detection. Verma added an array structure [1], then fixed its length initialization [2] to ensure proper sizing. He addressed tail reduction logic [3], which handles how the snake shrinks when moving. The loss condition was completed [4], establishing when the game ends. Unusual outputs were removed [5] to clean up debug or erratic console noise. By day's end, the core game loop was functional [6], with only an unbeatable condition remaining as unresolved [7].
One email a day. Unsubscribe in one click.
A short briefing every day anurag629 ships something — in about 3 minutes.
One email a day. Unsubscribe in one click. Read a past issue →
References
- [1] added array anurag629/Snake-Game-C
- [2] fixed new array length anurag629/Snake-Game-C
- [3] fixed reduce tail anurag629/Snake-Game-C
- [4] done with without lose anurag629/Snake-Game-C
- [5] removed unusual outputs anurag629/Snake-Game-C
- [6] all done except unbetable condition anurag629/Snake-Game-C
- [7] all done except unbetable condition anurag629/Snake-Game-C