Week 4

Week 4 was the start of the group producing the game. We all had a hand in adding to the code and producing different algorithms for the robot. I, (alongside a teammate), produced the countdown timer and the basic movement loops

Loops that I worked on:.

Timer

(Above) This loop is the countdown timer. It runs before anything else and tells the user when they can start the game. It also triggers the start of the game, (as the movement loops run afterwards, preventing users from starting too early and cheating)

(Below) The image below shows how the countdown loop links to the movement. The countdown runs beforehand. Once the countdown has finished and the sound stating so has played, the user is allowed to move using the Bluetooth controller. There are multiple options for the controller buttons and the various associated movements, (be it the hammer or the main motors).

Testing2

Advertisements
Week 4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s