Skip to content

lraeuschel/flip_seven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flip Seven

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.

Game Objective

  • Reach 200 total points to trigger game end.
  • When at least one player reaches 200, the player with the highest total score wins.

How the Game Works

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).

Cards in the Deck

  • Number cards (0-12)

    • There are N copies of number N (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).
  • 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.

Extra Rule in This Version

  • Collect 7 unique number cards in a round to gain a +15 bonus, then you are automatically locked/banked for that round.

Run the Game with Live Server (VS Code)

  1. Install the VS Code extension Live Server (by Ritwick Dey) if you do not already have it.
  2. Open this folder in VS Code.
  3. Open index.html.
  4. Start Live Server:
    • Click Go Live in the VS Code status bar, or
    • Right-click index.html and select Open with Live Server.
  5. Your browser will open automatically (usually at http://127.0.0.1:5500/).
  6. Use the setup screen to choose player count, then click Start game.

Project Files

About

This repository contains the card game 'flip seven' as python script and webinterface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors