This is a small game to play and learn the Q algorithm.
I followed this Blogpost. Take a look for further informations: https://www.practicalai.io/teaching-ai-play-simple-game-using-q-learning/
Play by yourself, as human ;)
ruby run.rb
Run the game with a player who used the Q-Learning-Algorithm
ruby run.rb --player=QPlayer
For more options run:
ruby run.rb -h