Skip to content

ofershap/balls-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Balls Game - Prisoner's Dilemma

A team-building game that simulates the Prisoner's Dilemma, challenging players to balance cooperation and competition.

How It Works

Teams are paired up each round. Each team secretly chooses Green (cooperate) or Orange (defect):

Team A Team B A Score B Score
Green Green +5 +5
Green Orange +10 -10
Orange Green -10 +10
Orange Orange -5 -5

The game runs multiple rounds with a live scoreboard. Teams must decide: cooperate for mutual gain, or betray for a chance at a bigger reward?

Use Cases

  • Team-building workshops
  • Game theory demonstrations
  • Classroom exercises

Tech

Single HTML file. No build step, no dependencies. Uses Bootstrap 5 for styling.

License

MIT

About

An engaging team-building game that simulates the Prisoner's Dilemma, challenging players to balance cooperation and competition through strategic choices of green and orange balls to maximize their points

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages