Class Entry
Represents Game Record Entry
Defined in: rec02.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Entry()
Record Entry
|
Field Attributes | Field Name and Description |
---|---|
turn BLACK or WHITE
|
|
column co-ordinate of move (1 origin)
|
|
row co-ordinate of move (1 origin)
|
Class Detail
Entry()
Record Entry
var e1 = new Entry(3, 4, BLACK); // col = 3, row = 4, turn = BLACK var e2 = new Entry(PASS, BLACK); // means pass for BLACK var e3 = new Entry(new Move(1, 2), WHITE); // col = 1, row = 2, turn = WHITE
- Since:
- 0.1
Field Detail
{Number}
turn
turn BLACK or WHITE
{Number}
x
column co-ordinate of move (1 origin)
{Number}
y
row co-ordinate of move (1 origin)