Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 2.35 KB

README.md

File metadata and controls

65 lines (48 loc) · 2.35 KB

Command Line Interface Python Games

Collection of some starter python game projects for beginners

How to play these games

  1. Clone this repository
git clone https://github.com/g-paras/python-games.git
cd python-games
  1. Install requirements
pip install -r requirements.txt
  1. Start Game
python3 playgame.py

Sample play of Number Guess game

Guess the number

About this repository

There are a total of 5 games in this repository, all of them are beginner lever that will help you practice your python basics like loops, if-else, function, recursion, list comprehension, random module, time module, and much more.

Two additional modules are also used in this.

  • tinge : for printing colored text in console
  • pyfiglet : for ascii-art
  • PyInquirer : interactive command line interface

Dependencies

Package        Version
-------------- ---------
pip            21.0.1
prompt-toolkit 1.0.14
pyfiglet       0.8.post1
Pygments       2.9.0
PyInquirer     1.0.3
regex          2021.4.4
setuptools     56.0.0
six            1.16.0
tinge          0.0.2
wcwidth        0.2.5
wheel          0.36.2

Contributors