Using Markov chain to create a rock paper scissors game in Java.
The Markov chain predicts the next move to be played by the user based on previous moves. It then chooses an item against the player's move.
Run the file with the following inputs - ROCK, PAPER or SCISSORS. STOP stops the game and displays points, any other command is invalid.
To know more, check out these links :
Cornell
Wikipedia