03-01-2021, 08:32 PM
Odd is one of my favourite games by Nick Bentley -- it's incredibly simple, yet mind-bending and deep at the same time. The current implementation in Ludii works well, but because I like the game so much I decided to make a more expansive version. If the Ludii team sees fit to expand the included version of Odd in a similar way, that would be great, but if not, any other fans of the game may like to use this version if they like the additional features.
New stuff:
Unfortunately, the Odd AI doesn't seem to work with this -- the graphics go a bit mental and things don't quite work properly if I leave the name as "Odd" and specify the Odd AI. Also, if I tried to update both player's scores after each move (with (set Score Each)) the whole game went crazy, and moves couldn't be made at all. So I settled for just updating the score of the player that just moved as my way of displaying the current group count.
Enjoy! :)
New stuff:
- As discussed by Nick here, Odd can be modified to play on larger boards or with different minimum group sizes. In this implementation, players may now choose board sizes from hexhex-3 to hexhex-12, and minimum group sizes from 3 to 12. The recommended minimum group size for a given board size is the same as the length of one of the board's hex-sides (so, minimum group size of 8 on hexhex-8, etc.).
- The default 'Standard' ruleset is defined as in the current implementation: hexhex-5, group size 5. Nick specifically mentions an advanced variant on hexhex-7 with group size 7, so that's included now as the 'Expert' ruleset.
- On larger boards it can be easy to lose track of how many groups have actually formed. Now, after every move the mover's score is updated to show the current group count.
- I updated the description and rules text to reflect these additions.
Unfortunately, the Odd AI doesn't seem to work with this -- the graphics go a bit mental and things don't quite work properly if I leave the name as "Odd" and specify the Odd AI. Also, if I tried to update both player's scores after each move (with (set Score Each)) the whole game went crazy, and moves couldn't be made at all. So I settled for just updating the score of the player that just moved as my way of displaying the current group count.
Enjoy! :)
![[Image: Image-1614629722093.png]](https://i.postimg.cc/kRvtjnjg/Image-1614629722093.png)
![[Image: Image-1614629748620.png]](https://i.postimg.cc/Lhtf4THF/Image-1614629748620.png)
![[Image: Image-1614630167807.png]](https://i.postimg.cc/2VCW1Z6b/Image-1614630167807.png)