Skip to content

coderangel117/python_game

Repository files navigation

Pythie game

Description

This project is a CLI programm that allows you to play differents games.

Installation

To install the project, you need to clone the repository.

git clone https://github.com/coderangel117/python_game.git
cd python_game

Games list

1. Guess the number

This is a simple game where you have to guess a number between 1 and 100. The game will tell you if the number you guessed is too high or too low. You have 10 tries to guess the number.

2. rock paper scissors

This is a simple game where you have to choose between rock, paper or scissors. You will play against the computer. The computer will randomly choose between rock, paper or scissors. The game will tell you if you win, lose or if it's a tie. You have 3 tries to win.

3. Tic Tac Toe (Work in progress)

This is a simple game where you have to play Tic Tac Toe against the computer. The computer will randomly choose a position to play. The game will tell you if you win, lose or if it's a tie.

User manager

In the main menu, you can choose to manage users. You can add, update, delete or list users. You can also view stats about a user.

There is some json files in the data folder that contains the user's data. If you delete the files, you will lose all the data.

Future games

possible_games_list = ["Pendu alias hang_man", "Roulette", "bingo", "Tic-Tac-Toe", "snake"]

Usage

To start the program, you need to run the main.py file.

python main.py

Author

Coded by coderangel117

License

This project is under the MIT license.

Bugs report or feature request

If you find any bugs or if you have any feature request, please open an issue on the GitHub repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages