A browser-based implementation of Flip Seven, a fast push-your-luck card game for 2-8 players.
The goal is simple: build points without drawing a duplicate number in the same round. If you hit a duplicate, you bust and lose your round points.
- Reach 200 total points to trigger game end.
- When at least one player reaches 200, the player with the highest total score wins.
Each round, players take turns choosing to:
- Draw card: take one card from the deck.
- Bank points: lock in your current round points and sit out for the rest of the round.
The round ends when all players are either:
- banked (
safe_points), or - frozen.
At round end, round points are added to total score (with x2 applied if active).
-
Number cards (
0-12)- There are
Ncopies of numberN(for example, seven 7s, twelve 12s). - Draw a number you do not already have in your hand: add it to your round score.
- Draw a duplicate number in the same round: you bust (unless Second Chance is active).
- There are
-
Second Chance (
sc)- Protects you from one duplicate number draw.
- The duplicate is ignored and the Second Chance is consumed.
-
x2 (
x2)- Doubles your banked round score at end of round.
-
Freeze (
fr)- Choose a player to freeze for the rest of the round.
-
Flip 3 (
flip3)- Choose a player who must draw 3 cards immediately.
-
Bonus cards (
+2,+4,+6,+8,+10,+12)- Add instant points to your current round score.
- Collect 7 unique number cards in a round to gain a +15 bonus, then you are automatically locked/banked for that round.
- Install the VS Code extension Live Server (by Ritwick Dey) if you do not already have it.
- Open this folder in VS Code.
- Open index.html.
- Start Live Server:
- Click Go Live in the VS Code status bar, or
- Right-click index.html and select Open with Live Server.
- Your browser will open automatically (usually at
http://127.0.0.1:5500/). - Use the setup screen to choose player count, then click Start game.
- index.html: game layout and dialogs.
- style.css: visuals and responsive styling.
- app.js: full browser game logic.
- flip_seven.py: Python console version/prototype.