top of page

JumpyJump.v4: a MATLAB computer game

After I had spent a semester learning the basics (and not-so-basics) of MATLAB, it was time to tackle the final project - make a computer game or cool application using MATLAB. As I was familiar with the hidden google loading-page game, I decided to make a MATLAB replica of that game, but add in a few personal touches.

The game is played similarly to the google dinosaur game - obstacles scroll left across the screen and the dinosaur jumps over them. Unlike the google game, there is a large number of obstacle types - cacti of varying size, birds, and mystery boxes. These mystery boxes are marked with normal or upside-down question marks to signify good or bad powerups that can make or break the dinosaur's journey along the map. The game gradually speeds up to get increasingly difficult.

If you have a copy of MATLAB, you can download my game here:

http://www.mathworks.com/matlabcentral/fileexchange/51105-jumpyjumpv4

The game is over 1000 lines of code. I optimized it to run best (MATLAB isn't great for games as compared with other coding languages). This project really helped introduce me to the fun of writing code.

jumpyJumpv4

My game's home/respawn screen.

jumpyJump_midGame

JumpyJumpv4 gameplay

© 2016 by Hans Stedman. 

Proudly created with Wix.com

bottom of page