/csc258-verilog-sokoban

Sokoban / Crate Pushing Problem on FPGA

Primary LanguageVerilogMIT LicenseMIT

CSC258_Project

Description

An implementation of the Sokoban Game. Move your player and push blocks into the goal! Watch a demo here!

Verilog Files

finalproject.v

Top level Verilog file. Contains code that brings together all modules.

multi_input.v

Contains logic for getting keycodes from the PS2 Keyboard.

sprite.v

Handles drawing sprites to a VGA framebuffer given the Sprite ID and location.

system.v

Handles all Game Level Loading/Completion, and Player movement logic.

Sprite Table

alt text

Numbered 0 - 12

  • 0: Wall
  • 1: Crate
  • 2: Player
  • 3: Floor
  • 4: Goal
  • 5: Crate on top of Goal (glowing crate)
  • 6: "LEV"
  • 7: "EL"
  • 8: "1-"
  • 9: "2-"
  • 10: "3-"
  • 11: "4-"
  • 12: Dark Grey

Contributors

  • Yoonsik Park
  • Joshua Boyd