courselab / coral

Coral is a snake game written as programming exercise (class of 2024)
GNU General Public License v3.0
9 stars 14 forks source link

Enhancement: Make game harder by dynamically changing the arena size #79

Open furtadojean opened 2 weeks ago

furtadojean commented 2 weeks ago

The scoreboard should have its own space instead of being positioned on top of the game area. The gap between the scoreboard and the game area should be unplayable (i.e. the snake should die) and change dynamically. One possible implementation is as follows: increase gap downwards until the arena is half the original size, then increase it back up until its original position. The apple should be respawned in case its position becomes unplayable.