This is an accellerometer TableFootball Game. 

The main feature of the game is the use of the accelerometer of the phone to control the attacking players.
Attacking players (red) can be moved through a sidewise change of the inclination of the mobile phone.
A shot can be triggered by turning the phone. The goalkeeper (blue) is controlled by an artificial intelligence to prevent the player from scoring too easily.
In addition, realistic ball physics were integrated. Therefore, the ball will bounce off objects such as the wall, players and the goalkeeper.
The speed of the ball will be reduced through bouncing off objects and the ball friction.
The ball position will be reset once the ball speed falls below a certain threshold or rolls back behind the attacking players.

At the beginning, the ball physics are simplified. The ball can only be moved sidewise to make it easier for the player to pass the ball between the attacking players.
Through this mechanism, the player won't lose the ball so easily.
The ball will move in all directions and bounce off other objects after a shoot is performed The game was developed as a prototype concept for the course:
Interaction Technology, so there might be a few bugs and performance problems. It is available for the S60 3.x platform .

The game will only work on S60 3rd Ed. devices with integrated accelerometer (tested with the Nokia N95).

Python is needed and install to same dir as python.