1 The project - 4arob-error404/GIOCO GitHub Wiki

General description.

This project involves the creation of a game that uses player's ability to balance. By using the Python OpenCV library you can capture red colored objects and use them to make a car moves on the screen through the PyGame library. the goal is not to get hit by cars arriving in the opposite direction.

Descrption of internship experience and IIT collaboration.

The experience carried out in the two weeks of internship allowed us to increase our skills in the use of Python. We discovered a new library: OpenCV, and increase the use of the other library: PyGame. we really liked the idea of ​​writing a video game to help the motor skills of people with problems like multiple sclerosis.

Detailed description.

By using the Python OpenCV library we're able to capture on the screen all the red colored objects present in the range of the camera.

The player should wear a red marker on the chest and by moving his chest left and right while he's standing on his feet he's able to move a car on the screen.

The goal of the player is not to get hit by the car arriving in the opposite direction. The cars increase their speed If the player get hit he lose a life.

He has three lives, so, when he gets hit the third time he lose.

If you're too slow don't worry! We have insert a turbo for you!

You also have a score so you can increase you're ability to play the game. Everytime you pass a row of cars your score increase of 100, when you get the turbo your score goes SUPERSONIC!

We have drawn different cars, so you don't get bored.

But before playing you have to choose the settings, so we have created a menu.

You can choose two differents way to play: by using color detection or by using your keyboard arrows. You can also choose two differents difficulties: easy or hard, that change speed of the cars. If you don't remember your best score, don't worry, there is a ranking, but you must have played at least five games to see it.

If you don't like our music it's not a problem, we don't get offended, but you can turn it off.

Choose play to start our game, hope you enjoy it!