Giter Site home page Giter Site logo

g-paras / python-games Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 10.0 302 KB

A collection of command-line interface games written in python

License: MIT License

Python 100.00%
python games python3 projects pythonprojects beginner-project open-source contributions-welcome hacktoberfest

python-games's Introduction

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

python-games's People

Contributors

arsh069 avatar g-paras avatar gsanchit01 avatar insaneprasun251 avatar knagar06 avatar prernapandeykp avatar twozero88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

python-games's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.