Skip to content

michaelbauerinc/heap-fisher

Repository files navigation

HeapFisher

Game Controls/Rules

  • Move your ship left and right with the arrow keys

  • Press spacebar to drop your hook

  • Your goal is to hook as much valuable treasure from the chests as possible before the time is up.

  • After hooking a chest, the value will be added to a queue of numbers.

  • After this queue reaches 4, the next hooked treasure will add the sum to your score.

  • If your hook collides with a piranha, it will automatically retract up.

  • You may not hook a chest in the top row more than twice in a row.

Installation

Dependencies

  • Python3
  • Pygame

Without virtual environment

pip3 install pygame
python3 GameRun.py

With virtual environment

python3 -m venv venv
source venv/bin/activate
pip3 install pygame
python3 GameRun.py

About

Portfolio piece created in Python with Pygame. Includes examples of the heap data structure, heap sort, queues, physics (collisions), and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages