Skip to content

mattwong/MOJO-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOJO game

Introduction

Having learnt about the inner workings of a Computer in 50.002 Computation Structures, our group was tasked apply these principles to design and build an Electronic Game.

Keeping the Beta Architecture in mind, we had to design our game’s architecture based on a similar model, i.e. having registers to keep track of data, having various control signals to control and modify the data path; centered around an ALU to do arithmetic and logical operations, et cetera.

We also were to use an FSM to keep track of the various states of our game, helping us to modify control signals according to those states.

Building the game, we had to use an FPGA known as Mojo to emulate the hardware architecture we designed.

Design

Description of the Game

Cal-Q-Laner is an educational game involving simple mathematical operations such as addition, subtraction and multiplication. It is a two-player competitive game, where the goal is to capture more lanes than your opponent. In other words, reaching mores flags (the centre of each lane) first. To advance in the lane, the player has to reach the current goal number faster than his/her opponent. This is done using the mathematical operations provided effectively. Players are also given a clear button to reset their number back to zero.

Our Finished Product!

Design Inspirations

We took inspiration from Calculords, a turn-based tower defence game that one of our members had been playing. Its core mechanic revolves around using mathematical operations to fulfil a unit’s specific summoning cost (to summon that unit).

Calculords’ UI and mechanics

Here's a photo of our group!

About

Comstruct 1D project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •