Skip to content

Champion2049/HackFlappyBird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

42 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HackFlappyBird

A Flappy Bird game built using the Jack language in the Nand2Tetris project. This game features procedural world generation, power-ups, and runs on the Hack computer.

Features

  • ๐ŸŽฎ Procedural World Generation โ€“ Pipes and obstacles are dynamically generated for a unique experience every playthrough.
  • โšก Power-ups โ€“ Collect items that modify gameplay, such as invincibility or slow motion.
  • ๐Ÿ—๏ธ Physics-Based Gameplay โ€“ Smooth gravity and jumping mechanics implemented in Jack.
  • ๐Ÿ’พ Optimized for the Hack Computer โ€“ Runs on the Nand2Tetris virtual machine and translates to Hack assembly.

How to Play

  1. Load the bin folder in the Nand2Tetris VM Emulator.
  2. Use the space bar (or an assigned key) to make the bird jump.
  3. Collect power-ups to enhance gameplay.
  4. Score points by passing through pipes successfully.

Implementation Details

  • Jack Language โ€“ Entire game logic, including physics and rendering, is written in Jack.
  • Procedural Generation โ€“ Pipes appear at random heights and distances for variety.
  • Custom Power-ups โ€“ Implemented using object-oriented programming principles in Jack.

๐Ÿ“‚ Project Structure

/HackFlappyBird
โ”‚โ”€โ”€ /src          # Jack source files
โ”‚โ”€โ”€ /bin          # Compiled VM files
โ”‚โ”€โ”€ README.md     # Project overview

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors