Pacman. Written in TypeScript. Play it now, if you like
The goal of this project was to learn TypeScript. I never intended releasing the source code, but a few people asked for it, so here it is. Please go easy on me, it's my first go!
Technical overview here
Game overview here
GNU GENERAL PUBLIC LICENSE Version 3 #
If you found this project helpful, or if the source code was useful (or you found it caused much hilarity), or even if you just enjoyed playing the game, then feel free to donating a small amount to charity.
This folder contains core items that aren't specific to Pacman. Things like Canvas, Sprite, timers, and fundamental types such as Point and Rect.
Game specific types, such as GameStats, PlayerStats, Tile, Fruit, and PacMan.
Ghost specific types, such as Inky, Pinky, Blink & Clyde. Also contains the logic for moving the ghosts.
Cut-scene specific types.