journal
all ![]() | Rob is 20,118 days old today. |
Apr 2020 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
June 2020 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2019 jan feb mar apr may jun jul aug sep oct nov dec
2021 jan feb mar apr may jun jul aug sep oct nov dec |< << more >> >| |
Entries this day: conswi-new-scoring-system conswi new scoring system
animal counts. (saves me a lot of programming)
displayed on the game screen. I wrote the above after untangling an issue we have had with ConSwi for some time. How do people pass each level? Until now, the code has been written that users can pass a level by collecting all the swipes. Tariq wanted to make it simply a certain number of pieces collected. Now by making those two separate scores, it solves another problem we had, wondering how to decide how many stars the user gets for passing the level. Num Stars will be `floor(3 * (Number of Correct Shapes) / (Total Shapes Requested))` To actually pass the level, they just need to swipe shapes. Any shape will do, so long as it's at least 3 connected pieces. permalinkprev day next day |