I made an aquarium for the terminal, written in Python (needs termcolor module to run). It was a project I wrote to help me learn OOP.
It randomly generates a unique aquarium ecosystem every time you run it.
It adjusts to your terminal window size, so you can run it fullscreen or just have a tiny little aquarium off to the side to keep you company while you work!
Try it out, and let me know what you think :)
Works with some slight modifications under Python3 on windows in the default-cmd as well, but not flicker-free sadly.
I added colorama [0] for ANSI translation, used a new function to get the terminal size cross-plattform [1] and using Python 3 required a) print-functions and b) explicit integer division for values derived from WIDTH/HEIGHT, since the behaviour of / on ints changed)
5 comments
[ 3.1 ms ] story [ 22.2 ms ] threadReally nice work! I'll leave it running when I'm not using the terminal on my side monitor.
[1] http://i.imgur.com/H3RLPS4.png
I added colorama [0] for ANSI translation, used a new function to get the terminal size cross-plattform [1] and using Python 3 required a) print-functions and b) explicit integer division for values derived from WIDTH/HEIGHT, since the behaviour of / on ints changed)
[0] https://pypi.python.org/pypi/colorama
[1] https://docs.python.org/3/library/shutil.html#shutil.get_ter...