02-03-2021, 08:19 AM
Hi,
Third day in a row! I'll see if I can keep this streak and write a new Ludii game every day.
Anyway, here is my implementation of the game Dodgem, from the Ludii Portal Wishlist.
I have followed the coding advice that was given to me in a previous thread, and also used the "option" ludeme for the first time. The only thing I am not entirely sure if it could be written better is the end condition, right now it performs 2 checks and I wonder if it can be written in 1.
Best,
Fabio
Third day in a row! I'll see if I can keep this streak and write a new Ludii game every day.
Anyway, here is my implementation of the game Dodgem, from the Ludii Portal Wishlist.
I have followed the coding advice that was given to me in a previous thread, and also used the "option" ludeme for the first time. The only thing I am not entirely sure if it could be written better is the end condition, right now it performs 2 checks and I wonder if it can be written in 1.
Best,
Fabio