incremental-snake-game
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
index.ts
https://blixt--bc5c636e34c611f0ab149e149126039e.web.val.run
An incremental snake game where snakes move on autopilot. The game features:
- Multiple snakes moving automatically
- Dynamic level size based on progression
- Variable apple density
- Different snake colors
- Incremental progression system
/frontend/
- Contains the HTML, CSS, and frontend JavaScript/shared/
- Contains shared types and game logic/backend/
- Contains API endpoints (if needed for future features)
- Watch as the snakes navigate the board automatically
- As snakes eat apples, you earn points
- Use points to upgrade various aspects of the game
- Progress through levels with increasing difficulty and rewards
The game dynamically adjusts these parameters as you progress:
- Level size (grid dimensions)
- Number of snakes
- Snake colors
- Apple density
- Snake speed
- Score multipliers
- HTML Canvas for rendering
- TypeScript for game logic
- TailwindCSS for styling