The Final assignment has made us combine both the processing and arduino tools to come up with an interactive application or interface.
The idea was to make the users get themselves plugged into the program which made us come up with an idea of a game. To make it even more interesting we wanted to make it a platform for multiple players.
The end result we came up was air hockey game. The game was a star in arcade-centers back then and even now. It is a fun environment and makes the user bring out their fun side with a bit of competitiveness. We wanted to make it digital with the help of these tools.
Therefore using the concepts taught in class such as the concept of controlling the potentiometer to the bouncing ball, we came up with a code which combines both to control the movement of the players and also to strike the ball. There was challenges while tweaking the codes as we had to make the ball bounce back once it touches the pad or hockey stick.
The game starts with a Title Screen and with the key pressed “S” and “P” respectively it starts and pauses the game. T he condition for the code is once either of the player reaches a five point score which is done by regenerating the ball once it crosses the rectangle.
This is achieved by not bouncing the ball or generating it a condition of reaching the width and having a negative acceleration. This causes the loop to repeat and the game starts again with a statement of who has won the previous game.
[DIGITAL AIR HOCKEY GAME] is a project of IaaC, Institute for Advanced Architecture of Catalonia developed at Master in Advanced Architecture, Computational Design – in 2016 – 2017 by:
Students: Nayla Bou Maroun, Shalini Brahma, Salih Iqbal Nazer
Tutors: Angelos Chronis, Angel Muñoz