Skip to content

A Python class containing text games to run in terminal

License

Notifications You must be signed in to change notification settings

moontommy/pytextgames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

List of games:

Game Variables Return type
Guess the number playername:string, lowest:int, highest:int void
Hangman playername:string void

Example for playing Hangman:

# Declare playername
playername = "John Doe"
# Import Hangman Class
from pytextgames import Hangman
# Declare game for our friend John
g = Hangman(playername)
# Let's go play
g.play()

About

A Python class containing text games to run in terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages