Postupujeme s prototypem
// moznost 1:
// figurka
{ pozice: 12, barva: "red" }
// moznost 2:
{
"red": {
figurekNaZacatku: 3,
poziceFigurek: [12]
},
"blue":
{
figurekNaZacatku: 2,
poziceFigurek: [0, 8]
}
}
// moznost 3:
[
{
barvaHrace: "red",
figurekNaZacatku: 3,
poziceFigurek: [12]
},
{
barvaHrace: "blue",
figurekNaZacatku: 2,
poziceFigurek: [0, 8]
}
]