{"id":932,"date":"2014-11-01T18:23:22","date_gmt":"2014-11-01T18:23:22","guid":{"rendered":"https:\/\/guwii.com\/?p=932"},"modified":"2016-09-23T12:06:12","modified_gmt":"2016-09-23T11:06:12","slug":"arduino-squash-scorer","status":"publish","type":"post","link":"https:\/\/guwii.com\/arduino-squash-scorer\/","title":{"rendered":"Arduino Squash Scorer"},"content":{"rendered":"

The game of squash has a fairly easy scoring system, however when you’re in the heat of the game it can be quite easy to forget your score as it’s so fast paced. I created this basic Arduino prototype to enable a very simple score counting system. This started off as a very basic project, however the codebase ballooned when I added logic for tie-game-situation scores, where both players reach 10-10 and the target is 11, the first player to 10 has to choose whether to play to 13 or 15.<\/p>\n

At first I created this as a static logic, however it’s now completely dynamic so the score will (in theory) keep going up, and allowing choices between 2 higher scores until 1 player wins by a clear 2 points.<\/p>\n

The actual setup is:<\/p>\n