Skip to content

We built the game "Doodle Jump" on the FPGA (UIUC ECE 385)

Notifications You must be signed in to change notification settings

Geyuhao/DoodleJump-on-FPGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPGA-Based Implementation of Doodle Jump

Course & Institution

Final project for ECE 385 at UIUC ECE Department.

Authors

  • Yuhao Ge
  • Haina Lou

Technical Specifications

  • Stair: Quartus Prime 18.1 Lite Edition
  • FPGA Board: DE2-115

Demo


Overview

This project replicates the game Doodle Jump on a DE2-115 board. The game features a character, "The Doodler," navigating through Stairs while avoiding obstacles and monsters. Controls are mapped to keys "A" and "D" for lateral movement and "← ↑ →" for shooting.


Features

Background

  • 320x480 pixel image
  • Seamless transition from left to right edge

Start & End Frames

  • 300x480 pixel displays
  • Triggered by "Enter" key

Start Frame End Frame

Doodler

  • Controlled by "A" and "D"
  • Dynamic appearance based on actions

| doodlel | doodleu | doodler |

Stairs

  • 14 initial Stairs
  • Dynamic generation as game progresses

Tools & Monsters

  • Randomly generated
  • Interact with the Doodler

Bullets & Score

  • Controlled by "← ↑ →"
  • Displayed on the upper left corner

Shoot Score

Sound

  • Looping background music

Architecture

Block Diagram

Block Diagram

General Flow

  • Hardware-centric design
  • NIOS-II for random number generation and I/O
  • VGA controller for display output

State Machine

State Diagram


Design Statistics

LUT: 17845
DSP: 0
Memory(BRAM): 3188736 bits
Flip-Flop: 3086
Frequency: 14.82MHz
Power: 532.34mW

Known Bugs

  1. Doodler stuck at boundaries.
  2. Sudden appearance of springs and moving Stairs.
  3. Overlapping stair graphics.
  4. Score display errors beyond 99.

Conclusion

The project received the "Best Design Award" for the course. Additional videos detailing the game can be found here and here.

About

We built the game "Doodle Jump" on the FPGA (UIUC ECE 385)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published