Skip to content

olindgallet/sevens-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sevens-ai

Artificial Intelligence designed to make the optimal move in the Sevens card game.

Contest link here: http://news.dice.com/2013/12/18/coding-challenge-best-card-sleave/ Game Description here: http://en.wikipedia.org/wiki/Sevens_%28card_game%29

The strategy is to get rid of the highest and lowest card in hand if possible. If not, then remove the next highest and lowest card if possible. The program works by reading the game state from input.txt, thinking about the best move, then outputting its choice in move.txt.

Check out SevenCardsGame, the main program, for more information.

About

Artificial Intelligence designed to make the optimal move in the Sevens card game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages