Paresh
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.
Viewing readonly version of main branch: v7View latest version
An online dice betting game where players predict whether the sum of three dice will be:
- 7 Down: Sum is less than 7 (3-6)
- Lucky 7: Sum is exactly 7
- 7 Up: Sum is greater than 7 (8-18)
- Roll three dice (each showing 1-6)
- Possible sum range: 3-18
- Betting options:
- 7 Down (3-6): Pays 1:1
- Lucky 7 (exactly 7): Pays 4:1
- 7 Up (8-18): Pays 1:1
├── backend/
│ └── index.ts # Main Hono server
├── frontend/
│ ├── index.html # Main game interface
│ ├── index.tsx # React game logic
│ └── style.css # Game styling
├── shared/
│ └── types.ts # Shared types and utilities
└── README.md
- Interactive dice rolling animation
- Real-time betting interface
- Score tracking
- Responsive design with TailwindCSS
- Clean, modern UI
- Choose your bet: 7 Down, Lucky 7, or 7 Up
- Click "Roll Dice" to play
- Watch the dice animation
- See if you won based on the sum!