Public
Like
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 milliseconds.
index.ts
https://zalwangojalia--3317cfec3fb811f08f0c76b3cceeab13.web.val.run
A multiplayer game for 4 players where players take turns being "sick" (the seeker) while others hide. Points are awarded for successful hiding and seeking.
- 4 players take turns being the "sick" player (seeker)
- Other 3 players are "hiders"
- Hiders get points for staying hidden
- Seeker gets points for finding hiders
- Game tracks scores and awards rewards based on performance
โโโ frontend/
โ โโโ index.html # Main game interface
โ โโโ index.tsx # React game logic
โ โโโ style.css # Game styling
โโโ backend/
โ โโโ index.ts # API server
โ โโโ database/
โ โโโ migrations.ts # Database setup
โ โโโ queries.ts # Game data queries
โโโ shared/
โโโ types.ts # Shared game types
- Real-time score tracking
- Player management
- Reward system based on performance
- Game session management
- Responsive design
The game runs as an HTTP val. Players can join, play rounds, and track their progress through the web interface.