codelurker / fishtank Goto Github PK
View Code? Open in Web Editor NEWA fish tank simulation with ascii graphics.
License: MIT License
A fish tank simulation with ascii graphics.
License: MIT License
Contents ~~~~~~~~~ 1. Introduction 2. License 3. Dependencies 4. Controls 5. Fish Emotions 6. Known Bugs 1. Introduction ~~~~~~~~~~~~~~~~ fishtank - simulation of a fish tank The fishtank is a home to two kinds of fishes. The smaller ones are just fooling around and trying to find something to eat. When they eat some food a new fish is born. Since they are so small and weak they tend to gather in a fish school. The bigger ones are predators and therefore are trying to hunt down the smaller ones. You can add food to the tank or even new fishes - so try to create a balanced ecosystem. 2. License ~~~~~~~~~~~ fishtank is released under the MIT license, see license.txt 3. Dependencies ~~~~~~~~~~~~~~~~ Python 2.6 (or later) 4. Controls ~~~~~~~~~~~~ q - quit c - add a cyan fish f - add some food for the fish p - add a predator fish 5. Fish Emotions ~~~~~~~~~~~~~~~~~ Small fish: 0< - the fish feels good and is fooling around X< - the fish just ate something good &< - the fish is scared to death while running away from a predator Predator: 0=< - the predator is looking for something tasty $=< - the predator is in a hunting rush X=< - the predator just devoured some poor little fish ^=< - the predator is going to sleep as there is nothing to eat 6. Known Bugs ~~~~~~~~~~~~~~ - Shrinking the terminal while fishtank is running will crash the application
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.