gfetterman / fyshy

A Fishy clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fyshy

fyshy is a clone of the old Flash game "Fishy", where you control a fish trying to survive in a dangerous pond by eating smaller neighbors and avoiding bigger ones.

Installation

fyshy runs under Python 3. There is no installer.

$ git clone https://github.com/gfetterman/fyshy.git

fyshy requires pygame to run.

$ pip install pygame

(You could use a conda environment if you like.)

To start:

$ python fyshy.py

How to play

The arrow keys move the yellow fish around the screen.

Swim into other fish to eat them. You can safely eat anything smaller than yourself, but anything bigger will eat you instead.

You get bigger when you've eaten a certain number of fish.

Eating bigger fish yields a bigger score, displayed at the top in the center. The score doesn't affect anything, though.

Notes

Fishy clones abound on the internet. This one isn't anything special, but I wanted something to build to start fiddling with pygame, so here you are.

It's a good deal shorter than the original, mostly so I could test all of the parts without having to play for ten minutes.

Colors were chosen with the help of the spectacular iWantHue.

(Yes, I made the little fish icons myself. Yes, I used Paint.)

About

A Fishy clone

License:MIT License


Languages

Language:Python 100.0%