Skip to content

yawgmoth/6nimmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

6 nimmt!

6 nimmt! is a card game where players simultaneously choose cards and then play them in ascending order according to simple rules. Whoever plays the sixth card in a row has to take that row, which scores against them. While playing the game two questions came up:

  • Is playing randomly a viable/competitive strategy?
  • What happens when the parameters of the game (number of rows, starting cards in hand, which cards are in the game) are changed?

To answer these questions, I wrote this simple python implementation of the game. As it turns out, it is very easy to write an AI that beats a random player, and it does that across several different parameter settings.

Requirements

  • Python 2.7

Usage

see python main.py --help

About

Parameterized implementation of 6 nimmt!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages