/ubalance

Primary LanguagePython

Ball game

This is a simple sample ball game.

Activity 1 - Run the game

Run the game.py file. Clicking the buttons will move the ball left and right.

Activity 2 - Use the accelerometer

Expand the code to use accelerometer.

Activity 3 - Explore the Ball class code I

How to make the ball immortal (such that the frownie face doesn't appear).

Activity 4 - Explore the Ball class code II

Change the frownie face at the end to another image, like a heart.

Activity 5 - Explore the Ball class code III

Change the code to only use the 3x3 grid at the center.