Commit Graph

59 Commits

Author SHA1 Message Date
Patrick Fairbank
20cb056243 Add consideration of playoff tiebreakers. 2022-08-21 14:52:54 -07:00
Patrick Fairbank
8962b48f3e Add sound when match result is shown (closes #120). 2022-04-30 15:12:32 -07:00
Patrick Fairbank
d4d4292b6f Add warning sound when there is one minute remaining in a timeout (closes #121). 2022-04-30 15:12:25 -07:00
Patrick Fairbank
0e485b9550 Remove unused match timing method. 2022-04-30 15:02:08 -07:00
Patrick Fairbank
ec71975e93 Convert Ranking and Team models to use Bolt DB. 2021-05-16 11:22:31 -07:00
Patrick Fairbank
9b17f0ab1b Run 'go fmt'. 2020-04-25 14:26:08 -07:00
Ken Schenke
f075b7bb8d Remove game-specific scoring 2020-04-14 19:38:14 -05:00
Ken Schenke
5712321733 Merge branch 'master' into lite 2020-04-05 15:02:35 -05:00
Patrick Fairbank
3739cd8690 Implement PLC integration for all outputs. 2020-04-04 22:48:20 -07:00
Patrick Fairbank
ae4b03dfbc Implement PLC integration for the shield generator rung. 2020-04-04 21:54:35 -07:00
Patrick Fairbank
7f6277d42b Implement PLC integration for the control panel. 2020-04-04 21:54:28 -07:00
Patrick Fairbank
783791d42c Implement PLC integration for the power port. 2020-04-04 16:48:58 -07:00
Ken Schenke
e2e57360bb Replace game-specific warning sound with steam whistle 2020-04-01 20:40:40 -05:00
Patrick Fairbank
2f7d186554 Add field to Ranking model to track previous rank. 2020-03-27 22:12:27 -07:00
Patrick Fairbank
27dc4a8773 Send out game data when Stage 3 capacity is reached. 2020-03-22 17:30:07 -07:00
Patrick Fairbank
93cbce7aa1 Update scoring panel for 2020. 2020-03-21 23:32:28 -07:00
Patrick Fairbank
fd84cdcd73 Update audience display for 2020. 2020-03-21 19:27:05 -07:00
Patrick Fairbank
ab2fa93b2f Update announcer display for 2020. 2020-03-21 14:49:49 -07:00
Patrick Fairbank
ec858914c4 Fix bug where always-disqualified teams don't receive a random ranking. 2020-03-21 14:11:12 -07:00
Patrick Fairbank
712d739290 Simpify scoring model and fix RungIsLevel bonus logic. 2020-03-21 12:41:04 -07:00
Patrick Fairbank
a9c160ad6a Update rules for 2020. 2020-03-20 22:16:48 -07:00
Patrick Fairbank
afcaa0e07c Update score/ranking models for 2020. 2020-03-18 22:42:36 -07:00
Patrick Fairbank
24a069d959 Update game sounds for 2020. 2020-03-15 22:26:21 -07:00
Patrick Fairbank
49758eaafd Refactor Rules to have an ID that is referenced instead of copying details everywhere. 2020-03-15 21:23:52 -07:00
Patrick Fairbank
20724ba0e1 Expand configurable period timings and adjust game sounds timing accordingly. 2020-03-15 15:55:30 -07:00
Ken Schenke
76ca5a4dcd Custom match times 2019-12-18 16:27:45 -06:00
Patrick Fairbank
06a91b8a3c Enforce that pre-match scoring is set validly before starting a match. 2019-08-04 13:50:20 -07:00
Patrick Fairbank
0aff0b79c0 Update fouls for 2019. 2019-07-26 23:54:39 -07:00
Patrick Fairbank
8c742910f9 Correct foul values for 2019. 2019-07-26 23:13:56 -07:00
Patrick Fairbank
ad1891cd91 Update game module and dependents for the 2019 game. 2019-07-21 17:52:34 -07:00
Patrick Fairbank
e755913151 Refactor match sounds such that they only need to be listed in one place. 2019-07-20 23:23:26 -07:00
Patrick Fairbank
adb0bbada1 Add framework for playing game sounds at arbitrary times during the match. 2019-04-12 18:40:35 -07:00
Patrick Fairbank
5ed1204379 Remove 'endgame' match state since it's just used for playing a sound. 2019-04-12 17:38:58 -07:00
Patrick Fairbank
0f74de7ad8 Fix tests after last change. 2019-04-12 17:32:40 -07:00
Patrick Fairbank
74c1063a2d Remove warmup and pause periods for 2019 scrimmage. 2019-04-05 23:46:18 -07:00
Patrick Fairbank
c6b1426fbb Clean up TODOs that are done, will be done soon, or won't ever be done. 2018-09-19 01:33:05 -07:00
Patrick Fairbank
d8c4b92f57 Add functionality to trigger a timeout and show the countdown on the audience display (fixes #51). 2018-09-19 00:27:11 -07:00
Patrick Fairbank
bd13887aaf Update TBA publishing for 2018. 2018-09-17 20:55:14 -07:00
Patrick Fairbank
0082ea5d0b Fix issues from testing PLC integration. 2018-08-25 14:54:19 -07:00
Patrick Fairbank
918e8741e0 Update vault logic with measured distance sensor values. 2018-08-18 22:49:57 -07:00
Patrick Fairbank
11b1b6a943 Update rules to match Chezy Champs changes and add tooltips containing rule descriptions. 2018-08-18 18:40:21 -07:00
Patrick Fairbank
738b5a0e7b Hook LED modes up to field state. 2018-07-21 22:28:42 -07:00
Patrick Fairbank
5f457f96ec Update realtime scoring display and sounds for 2018. 2018-07-21 18:32:09 -07:00
Patrick Fairbank
3dc83bcdbf Break down vault cubes by power up in score object. 2018-05-22 21:35:14 -07:00
Patrick Fairbank
dc02087cc4 Update final scores screen for 2018. 2018-05-20 13:37:44 -07:00
Patrick Fairbank
4890d11f88 Refactor LED control logic. 2018-05-19 21:46:46 -07:00
Patrick Fairbank
0393136588 Fix score calculation for park/climb when they exceed limits. 2018-05-19 13:36:58 -07:00
Patrick Fairbank
d85d1bb8bd Add typing to all enums. 2018-04-15 18:33:10 -07:00
Patrick Fairbank
8b8468f4c8 Update assumptions about PLC interface. 2018-04-15 10:45:03 -07:00
Patrick Fairbank
0c475b0a20 Add generation and sending of game-specific data. 2018-04-11 23:26:36 -07:00