Skip to content

Reinforcement learning playing 21 matches game. Implemented in Go.

Notifications You must be signed in to change notification settings

springrid/rl-21-matches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Learning playing: 21 matches

21 matches is a classic two player game that you can play by yourself or against your friends. The rules are:

  • The game starts with 21 match sticks.
  • You can remove 1 or 2 or 3 or 4 match sticks on your turn.
  • The player forced to pick the last match stick loses the game.

Agents thus far implemented:

  • random
  • perfect
  • human/user
  • Monte Carlo

TODO:

  • add other agents :)
  • other games ;)

This repo is inspired by http://github.com/AntonOsika.

About

Reinforcement learning playing 21 matches game. Implemented in Go.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages