Skip to content

AGFeldman/pythonomic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythonomic

A concise Python implementation of Nomic.

nomic-backdoor

Playing pythonomic

To play the game, just run python3 nomic.py player_1 [player_2 ...], where player_* is a player's name. I recommend having at least 3 players. You should probably make sure there aren't any other files in the working directory beforehand (especially scores.json), but if your friends are anything like mine, nothing in your filesystem is safe.

Each round:

  • The active player rolls a die and adds that number to their score. If they have more than 100 points, they win.
  • That player proposes a change to the source code.
  • Every other player votes on this change. If the plurality vote is "accept", the file is saved. If the plurality vote is "modify", the player edits the file again. Otherwise, the file remains the same (the proposed rule change is ignored).
  • Play proceeds to the next player when nomic.py executes itself.

About

A concise Python implementation of Nomic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%