Lego Spike Prime Shooting game - Asier Mayoz, Ana Alonso

From RoboWiki
Jump to: navigation, search

About the proyect

The goal of the project is a game, a shooting game, in which you can shoot to a 1 pixel square by moving your "gun" and pressing the Force sensor. After 15 seconds it appears on the screen how many points have you get.

Proyect details

When you miss the shot you lose one point which means you lose a life. Missing 3 point means that you lose all your lifes so, it will appear on screen GAME OVER. Also, when you shot to the correct place a grren light appears, on the opposite if you miss the shot a red light will appear.


Photos

Lego2.jpg Lego3.jpg Lego4.jpg

Code

Code.jpg


Download: program

Video

Program

stud.io model: model(stud.io)