• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Ral

Ral

Paresh

Public
Like
Paresh
Home
Code
4
backend
1
frontend
3
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/23/2025
Viewing readonly version of main branch: v11
View latest version
README.md

3 Die 7 Up 7 Down Game

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)

Game Rules

  • 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

Project Structure

├── 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

Features

  • Interactive dice rolling animation
  • Real-time betting interface
  • Score tracking
  • Responsive design with TailwindCSS
  • Clean, modern UI

How to Play

  1. Choose your bet: 7 Down, Lucky 7, or 7 Up
  2. Click "Roll Dice" to play
  3. Watch the dice animation
  4. See if you won based on the sum!
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.