Solitaire

//Solitaire/de.syntaktischer.zucker.Solitaire/Peg/Peg

Peg

[jvm]
Content
fun Peg(id: Int = -1, value: PegType = PegType.EMPTY, i: Int = -1, j: Int = -1)
More info

Parameters

jvm

Name Summary
id

unique identifier of the peg

value

value of the peg indicating presence (FULL) or absence (EMPTY) in board location

i

offset of peg in row or -1 if not placed on board

j

: offset of peg in column or -1 if not placed on board