Skip to content

Final project for Reinforcement Learning elective at USF MSDS. (Summer 2020)

Notifications You must be signed in to change notification settings

ShreejayaB/mastermind

Repository files navigation

Can we make an RL agent play Mastermind?

Mastermind is a popular code-breaking boardgame for two players which resembles Cows and Bulls.

mastermind

Contributors :

Project Summary:

Using Reinforcement learning to train an agent to play the mastermind game. We implemented two algorithms

  1. Q-learning
  2. Policy Gradient method

Components of Reinforcement Learning

  • Environment : Mastermind game board
  • Agent : Plays a move guessing the pattern
  • Example state : State consits of all the guesses taken by the agent and feedbacks obtained from environment previously.
  • Example reward : Tuple of (Number of colors guessed correctly in right position, Number of colors guessed but in wrong position)

We have tried using Q-learning and policy gradient algortihms to make the agent play the game efficiently.

Links to relevant sections:

Here is a link to a video we made to explain this project Alt text for your video

References:

About

Final project for Reinforcement Learning elective at USF MSDS. (Summer 2020)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published