Ball in the Hole Game

Description

An Mbed game where the player must roll the ball into a randomly placed hole 10 times before the time runs out !

Hardware

  • mbed LPC1768
  • Speaker
  • Audio Amplifier (Optional)
  • SD Card Reader
  • LSM9DS1
  • uLCD-144-G2
  • external 5V power supply

Schematic

LSM9DS1

mbed LPC1768LSM9DS1
GNDGND
+5VVOUT
p28SDA
p27SCL

Speaker

mbed LPC1768Speaker
GND-
+5V+

uLCD-144-G2

mbed LPC1768uLCD-144-G2
VU+5V
p10TX
p9RX
p11RES

SD Card Reader

mbed LPC1768SD Card Reader
VoutVCC
GNDGND
p7SCK
p5DI
p8CS

Setup for Ball in the Hole Game

/media/uploads/kthlee/img_8952_YIvm0gx.jpg

Gameplay

Program

Import programBall_In_The_Hole

mbed Ball In the Hole Game

}


1 comment on Ball in the Hole Game:

23 Mar 2016

Hello Kevin, thank you so much for sharing this wonderful game!! Can you tell me please, where can i find the "wav" files that you have used in the game? I see that you loaded it from the SD Card, can you share it please?

Please log in to post comments.