Added 2021-2022 CARGO CONNECT season materials.#177
Added 2021-2022 CARGO CONNECT season materials.#177zachies wants to merge 3 commits intoFirstLegoLeague:masterfrom
Conversation
There was a problem hiding this comment.
Hi team, it's great to see this being updated as I really could have used it at our tournament yesterday. Looks like there's some logic missing on M06 as below.
if(M06_1 === 'yes' && M06_2 === 'no' && M06_3 === 'no') { return 20; } if(M06_1 === 'yes' && M06_2 === 'yes' && M06_3 === 'no') { return 30; } if(M06_1 === 'yes' && M06_2 === 'no' && M06_3 === 'yes') { return 0; } if(M06_1 === 'yes' && M06_2 === 'yes' && M06_3 === 'yes') { return 0; }
Interestingly there's also a difference between your logic on M09 and FIRSTs but I believe you're correct.
|
Thanks for catching that @timan24! It looks like a few of the if statements were switched around on accident, and the logic should be updated to reflect the actual scoring conditions. |
|
I've confirmed with my contacts at LEGO that M09 has intentionally been left so that you can score points for latching the train but NOT have completed the train track repair. |
Updates the default season in module.yml and adds a season file for the 2021-2022 season. The JavaScript file is missing error checking for M16 and the strings section, but it does function within the TMS software.