Our code was written & formatted for use In Arduino, which uses C++ as its programming language. The program starts off by asking the user whether they want to play. To avoid exiting out of this decision without a response, the program goes into a while loop that does not break until a specific input(s) is put in. This technique is used throughout the program, such as for each round start, and deciding whether a player has guessed correctly or incorrectly. For the general duration of the game, the program runs within a much larger while loop, that does not break until a winner has been decided. At the end of each round, the scores are updated, and total placement on the board is continually tracked by the program. Once it is determined a player has reached, or gone past the end, the winner will be displayed on the monitor, and the game ends.
The physical game was made with the notion that it can be flexible in set-up, as well as use, as we wanted a game that could easily be played around a table, while still allowing for access to the Arduino. To accomplish this, additional breadboards were needed to increase space, and allow people from across the table to reach the Arduino. A notable feature of the physical creation is the extended wiring on the additional breadboards, making the Moderator & Player boards alike to detachable controllers (i.e.: a hypothetical 'wired' Nintendo Switch). Tactile Buttons were used instead of the standard buttons due to its more durable & easy to press nature, making the Arduino components less of a hinderance to gameplay, and more seamless with the experience.