Rock Paper Scissors and Tic Tac Toe Game Using Python
Submitted by coderz on Friday, March 27, 2020 - 14:47.
Language
This source code contains Rock Paper Scissors and Tic Tac Toe game programed using Python.
The program is very simple to play. Just open the code using command line and type game.py and hit enter.
The main menu has two options. 1 is for Rock Paper Scissors game and 2 is for Tic Tac Toe game.
There are three numbers that you need to use in order to play Rock Paper Scissors. They are:
Rock = 0
Paper = 1
Scissors = 2
Just select any number and wait for the computer to select its number.
For the Tic Tac Toe, you need to press numbers from 1 to 9 to make straight or diagonal line to win the game.
To download the source code, scroll down and click the Download Code.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Add new comment
- 1101 views