Skip to main content

Rock Paper Scissors and Tic Tac Toe Game Using Python

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

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.