Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Charlesworth committed Sep 10, 2018
1 parent 4713072 commit f855b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# Big 2 Self-Play Reinforcement Learning AI
Big 2 is a 4 player game of imperfect information with quite a complicated action space (being able to choose to play singles, pairs, three of a kinds, two pairs, straights, flushes, full houses etc from an initial starting hand of 13 cards). The aim of the game is to is to be the first player to play all of your cards but to play the game well requires formulating a long term plan, thinking about what your opponents plans are and knowing when to play a hand and when to save a hand for later. This is my implementation of training an AI to learn the game purely via self-play deep reinforcement learning using the "Proximal Policy Optimization" algorithm. The results have been surprisingly good - my friends and I play this game A LOT every time we go on holiday and it has got to the point where it convincingly beats all of us over a decent amount of games.

If you run generateGUI.py you can play with the AI and also see the values it assigns to each state as well as the probability of choosing each option. I've also made a web app using Django so that you can play against the trained networks in a more proper setting <a href="https://big2-ai.herokuapp.com/game/">here</a> (it may take a while to load). <a href="http://henrycharlesworth.com/singlePlayerBig2/rules.html">Here</a> are the rules of the game.
If you run generateGUI.py you can play with the AI and also see the values it assigns to each state as well as the probability of choosing each option. I've also made a web app using Django so that you can play against the trained networks in a more proper setting <a href="https://big2-ai.herokuapp.com/game/">here</a> (it may take a while to load). <a href="https://github.com/henrycharlesworth/big2_PPOalgorithm/blob/master/rules.md">Here</a> are the rules of the game.

<a href="https://big2-ai.herokuapp.com/game/"><img src="https://henrycharlesworth.com/fileStorage/big2aiscreenshot.png" /></a>

Expand Down

0 comments on commit f855b41

Please sign in to comment.