07-15-2023, 10:44 AM
Hi, have you made any progress on this by now?
If not here are some thoughts: For the scoring pattern/table itself it would make sense to use the (map) ludeme, like so:
This goes in (equipment {}).
Then what I'd do is reset the Mover's score to 0 after their turn, and use something like this:
for each line Mover has made.
Relevant ludemes: (addScore), (mapEntry)
This would make it so the score is displayed and updated during the game (instead of at the end), which I guess you could have different opinions on.
If you need any more help past this, feel free to ask.
If not here are some thoughts: For the scoring pattern/table itself it would make sense to use the (map) ludeme, like so:
Code:
(map {(pair 1 0) (pair 2 0) (pair 3 3) (pair 4 10) (pair 5 25) (pair 6 56) (pair 7 119)})
Then what I'd do is reset the Mover's score to 0 after their turn, and use something like this:
Code:
(addScore Mover (mapEntry [the length of the line you found]))
Relevant ludemes: (addScore), (mapEntry)
This would make it so the score is displayed and updated during the game (instead of at the end), which I guess you could have different opinions on.
If you need any more help past this, feel free to ask.