Skip to content

seihtam/black-hole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

black-hole

Implementation of the Black Hole board game, created in 24 hours at CopenHacks hackathon.

GitHub Logo

You can play against other people online and against bots. An Elo rating system is also implemented.

#Rules

Black Hole, initially designed as a paper-and-pencil game, is played on a triangular board of 21 cells. Two players alternate turns placing a numbered disc of their color onto an empty space. Discs are numbered 1-10 and must be placed in numerical order. When all the discs have been placed, the game ends. The one board space that remains empty is the "Black Hole"; each player sums the values of his discs surrounding the Black Hole, and the player with the lower sum wins.

#Instructions to run

  • create a virtualenv
    • virtualenv env
  • activate the virtual environment
    • source env/bin/activate
  • use pip to install dependencies
    • pip install -r requirements.txt
  • run run.py
    • python run.py
  • open you webbrowser and enter http://127.0.0.1:5000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages