Ludii Forum
Game Submission: 'Tri-It-Out!' - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Submit Your Games (https://ludii.games/forums/forumdisplay.php?fid=23)
+--- Thread: Game Submission: 'Tri-It-Out!' (/showthread.php?tid=1440)



Game Submission: 'Tri-It-Out!' - dale walton - 01-14-2023

Here is a new game described in https://boardgamegeek.com/thread/3007720/wip-tri-it-out-discussion-continued-abstract-forum.

It compiles very slowly probably due to the define structure needed to identify the patterns. and also evaluates slowly.

Is there a better approach to use for identifying regular polygon vertices on grids?
40 years ago I invented an unpublished game which used square locations in any orientation and size on a square grid. 
I am sure others have had such ideas as well.

Also, I had great difficulty finding a construct for the snippet {(value Player (mover))}  used as #4 in:


(results
  from:#2
  to:(intersection (sites (from) { #1 } rotations:True) #3)
    (if
    (!= 0
      (size Array
      (intersection
        (intersection
          (array (sites (from) { #1 } rotations:True))
          (array (sites (to) { #1 } rotations:True))
        )
        (array #4) // This is a single site for the standard game..
  ) ) )
  (from)
  -1
))

For example (var "LT") or  {(var "LT")} and several other approaches did not compile. Nor did treating the above as sites rather than arrays.
Please check out why intersection and difference (and possibly union) are so picky about working with single values...


RE: Game Submission: 'Tri-It-Out!' - Eric Piette - 01-25-2023

Hi,

Thanks for the submission, I just added the game to the dev version of Ludii. It will be in the next release.
I did not see any slow down in compiling it or running it.

Regards,
Eric