Skip to content
/ rps Public

Simple Rock paper Scissor Game using Markov chain for logic

Notifications You must be signed in to change notification settings

Fi-711/rps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors Game with Markov Chain

This is a simple implementation of the Rock Paper Scissors game in Python, using a Markov chain to generate the results. The code allows two players to compete against each other by making moves and keeping track of the score.

Prerequisites

Python 3.x

Setup and Usage

  • Download or clone the repository containing the code.
  • Open the terminal or command prompt and navigate to the directory where the code is located.
  • Run the script using the command:

python filename.py

  • where filename.py is the name of the file containing the code.
  • The game will run for 1000 rounds, and the winner will be displayed along with the final score.

About

Simple Rock paper Scissor Game using Markov chain for logic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages