This project is a simple interactive game that requires the users to identify, track, and follow moving visual targets represented by apples.
The aim is to train the user's visual attention/tracking.The game has 3 different levels of difficulty, characterized by increasing distractors and rewards.
To pass to the next level the player has to gain +50 points. The player wins when he collects 150 score points.In the first level, apples are falling from the top of the screen and the user has to catch them.
To catch them, the player has to touch the apple. If succeeds, the score increases to 10 and a successful sound is emitted. If the apple exits from the view and the user can no longer collect it, the life points decrease and a fail sound is played.| Target | Action | Score | Life Points | Effect |
|---|---|---|---|---|
| 🍏 | Picked | +10 | / | Music |
| 🍏 | Missed | / | -1 | Music |
In the second level, some distractors are added. The new objects are orange carrots and tubes colored like the apples, they appear at random locations and with random orientations. If touched, they reduce the score points and they emit a fail sound. Their velocity increases and changes accordingly with the progress of the game.
| Object | Action | Score | Life Points | Effect |
|---|---|---|---|---|
| 🥕 | Picked | -10 | / | Music |
In the last level, a new distractor and two new items are added. One is a new target, a red apple, with the same characteristics as the green apple.
| Target | Action | Score | Life Points | Effect |
|---|---|---|---|---|
| 🍎 | Picked | +10 | / | Music |
| 🍎 | Missed | / | -1 | Music |
All the objects in this level rotate randomly.
The other new object is a power-up element, represented by a bottle of fizzy drink. This object appears from the lower part of the screen and then falls, if touched explodes (with sounds and particle effects) and increases the life points. In addition to this, if there are apples visible on the screen they are stopped, and all the distractors are destroyed.| PowerUp | Action | Score | Life Points | Effect | 🍏 | 🥕 |
|---|---|---|---|---|---|---|
| 🍾 | Picked | / | +1 | Music, Particle | Stopped | Removed |
From the START screen, the player can choose to play each level. The difficulty level increases every time the score increases by 50 points, and the game is completed when the score is equal to 150. A WIN screen and sound are displayed. If the player runs out of life points, the GAME OVER screen appears, and the game restarts.
flowchart LR
A[START] --> B(Easy)
A[START] --> C(Mid)
A[START] --> D(Hard)
B --> |+50 score|C
C --> |+50 score| D
B --> |Life = 0| G[GAME OVER]
C --> |Life = 0| G[GAME OVER]
D --> |Life = 0| G[GAME OVER]
D -->|Score = 150|E[WIN]
G --> A
To see all this info, watch the video HERE