project09 - snake game functional!

This commit is contained in:
2025-11-09 13:01:01 -05:00
parent 59f9433b2b
commit 9c5d755f03
7 changed files with 683 additions and 0 deletions

18
09/Snake/Main.jack Normal file
View File

@@ -0,0 +1,18 @@
// Snake Game - Entry Point
// A classic Snake implementation with growing mechanics,
// collision detection, scoring, and smooth gameplay
class Main {
// program entry point
function void main() {
var SnakeGame game;
// create and start game
let game = SnakeGame.new();
do game.run();
// cleanup when done
do game.dispose();
return;
}
}