08-09-2020, 05:33 PM
(This post was last modified: 08-09-2020, 05:34 PM by Eric Piette.)
I just made that test
And that works. So not sure what is your problem here. Can you send us a more complete version to identify your problem?
For your second question, yes, in the current version, only integers can be used in the ludemes available in the equipment, no IntFunction (even the mathematical ones (+, -, *, /) are not possible to use in the graph functions to build the board).
Code:
(define "Order2" (poly { { 1 3 } { 2 2 } { 4 1 } { 5 2 } { 6 4 } { 5 5 } { 3 6 } { 2 5 } } ))
(game "example"
(players 2)
(equipment {
(board (square <Board:ord> diagonals:Solid))
(piece "Disc" P1)
(piece "Cross" P2)
})
(rules
(play (move Add (to (sites Empty))))
(end
(if (is Line 3) (result Mover Win))
)
)
)
(option "Board Size" <Board> args:{ <ord> }
{
(item "Muster 2" <"Order2"> "Board: Muster order 2 board - 20 positions")*
}
)
And that works. So not sure what is your problem here. Can you send us a more complete version to identify your problem?
For your second question, yes, in the current version, only integers can be used in the ludemes available in the equipment, no IntFunction (even the mathematical ones (+, -, *, /) are not possible to use in the graph functions to build the board).