Skip to content

A python ascii text art pokemon style game in the terminal using ANSI escape codes.

License

Notifications You must be signed in to change notification settings

Py-mon/Pybattle

Repository files navigation

Pybattle

image

Running

Pybattle is a python ascii text art pokemon style game in the terminal using ANSI escape codes.

Don't know what ANSI escape codes are? Visit: https://en.wikipedia.org/wiki/ANSI_escape_code

Ascii Text Art Examples:

╭─ BEDROOM ─┬──────────────────╮
│   ╰───────╯       ||||       │
│                   ||||       │
│                     ─┬─┬─┬─┬─┤
│                              │
│                              │
│╭│╮   ╶─╮                     │
││││    ░│                     │
│╰│╯   ╶─╯           ╭─────┬─╮ │
│                    │░░░░░│▓│ │
│                    ╰─────┴─╯ │
╰──────────────────────────────╯

Get the the characters here: https://en.wikipedia.org/wiki/Box-drawing_character

   __/\       _─────_  
  / ,  \____ /       \ 
  \_____    \|    /  | 
 _|____/ ____ \   |  / 
|   |___/    \ \  |_/  
 \_/ ___|      | /     
    /____\_____//    
  _    _        
 ( \  / )       
  \ \/ /        
  |, , \        
  |     \       
  /     \       
 |  \ /  \ _\/_ 
 \     /    /   
__\_ __\___/    
  _---_               
<< ,   \_____         
  \   /      \__       
   |  \________/=====- 
    \________/         
        __|_     

Installation:

Clone the repository:

git clone https://github.com/PythonDominator/Pybattle

Install setuptools:

pip install --upgrade setuptools

Install pybattle

pip install -e .

Uninstall:

pip uninstall pybattle

Run:

Navigate to the tests folder:

cd tests

Run a test:

python bedroom.py

python textbox.py

python menu.py

There will be more tests coming soon.

About

A python ascii text art pokemon style game in the terminal using ANSI escape codes.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages