Skip to main content

Collect coins along with rats while being chased by snakes

Project description

A game I made years ago but didn't publish.

0_0
______ ______ \_/ ____ _____ >_< _____
\ \|\ \ s ____\_ \__ / |_ \_/s _____\ \
| |\| |s / / \ / \ ^ s / / \ |
| |/____ / / /\ || /\ \ ss | | /___/|
| |\ \ | | | || | | \sss ____\ \ | ||
| | | || | | || \/ \ / /\ \|___|/
| | | || | / /||\ /\ \ | | \ \ss
/_____/|/_____/||\ \_____/ || \_____\ \_____\|\____\ /____/| ss
| ||| | || \_____\ | / | | | | || | || | | ^_^
|____|/|_____|/ \ | |___|/ \|_____|\|_____| \|___||____|/ \_/
\|____|

*-. Game Play .-*
You are gather money and some boa snakes chase you, they get more willing to eat you the more you get rich.

If you get enough money, you could buy rats who distract boas.

Despite it being harder than snake(6), you can theoretically attain any score by making a large enough rat army, which is not an easy task.

The main attraction of the gameplay is that unlike snake(6), you could play it for hours, or even days! It was popular among friends and little children of relatives, so i thought it would be nice if I share it on the web.

*-. Installation .-*
You can install it by this command:

sudo pip install boas-game
boas

Have fun!

*-. It's in Python2!? .-*
Yes. It's also so dirty that I get headache surfing through its code.
If I wanted to modify it so much I would rather rewrite it in C from scratch.





































*-. Don't use pycurses .-*
Unlike curses, which is (like many other old libs) a testament that using a library made by C people for C could be actually a nice expreince; pycurses is the absolute opposite of that with it's combinations of an OO pythonic inteface for a bitmask-intensive trivially non-OO API and FREAKING EXCEPTIONS that throw you into a corrupted console, many times for nonsensical reasons. It was such a pain silencing them all and sometimes even exceptpass didn't suffice.

It's also tied to ncurses, limiting you to unix-like platforms.

If you want to do something similar, i recommend using unicurses.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boas-game-2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

boas_game-2-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file boas-game-2.tar.gz.

File metadata

  • Download URL: boas-game-2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.16

File hashes

Hashes for boas-game-2.tar.gz
Algorithm Hash digest
SHA256 30cbb425c3327b64d7516a8a821cac98d4e3f115c0a3395a103cac0996f799f5
MD5 e59ed84b3d8d12a9b779ad69b3029095
BLAKE2b-256 c666aa507af2abdc225e26ee09b4c69890b7839510d59c87c3deb3e96d8325e0

See more details on using hashes here.

File details

Details for the file boas_game-2-py3-none-any.whl.

File metadata

  • Download URL: boas_game-2-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.16

File hashes

Hashes for boas_game-2-py3-none-any.whl
Algorithm Hash digest
SHA256 a111cb84445cec5fa821942468ba69ce60a7b0775a2f51a3d710c211591c5ba4
MD5 0253bd821fd31c19746fdcecc821b818
BLAKE2b-256 bbb678f1031ba5b55084659342f8c5d01eca4a6b8d551dd25d32337c604d3d59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page