For ISTD Computational Structures 1D Project 2022.
View our project on the 2022 ISTD virtual exhibit website
Raiders of hanoi is a 2D arcade game where the player (green square) has to mvoe around using the joystick, to pick up disks (purple) and drop them onto the towers (blue) to solve the 4-disk towers of hanoi while avoiding the enemies that would spawn from the right edge and move left to attack the player. Created as a FPGA state machine that selects inputs to a single 16-bit ALU as part of the 50.002 1D project requirements.
Team members:
Acqquilaa Bathumalai
Beverley Chee
Christopher Lye Sze Kian
Constance Chua Jie Ning
(Charles) Lim Thian Yew
Tham Jit
Wee Chun Hui
Yong Zheng Yew
Relevant folders:
ALU - lucid code for 16-bit ALU checkoff submission
GPU/led_render - lucid code for final raiders of hanoi game, and supporing LED matrix drivers
hanoi - python game, ALU and state machine emulator
todo feature wishlist:
change player color to indicate pick / drop statereorder state machine to avoid occasional flickering due to enemy being made visible before being repositioned to right edgecreate white border on the top of the second screen to denote floor of the game area- expand playable game area to both LED matrices
- build 16-bit beta CPU and code the game using beta assembly
- change the game display output to VGA
- retarget vbcc for the 16-bit beta architecture and write the game in C
- implement 2D rigid body dynamics for raiders of hanoi and turn it into a physics game
- turn the game into 3D with 3D rigid body dyanmics
- implement raytraced graphics and rebrand the FPGA as an ATX 4060TI