habits
typehabits is what reader has seen an opponent do when the two were adjacent.
Value
reader.habits
notes
*v0.Tree// opponent name -> \*habits
- OID
- 0ac583…6e78:4
notes details
wasClose
bool// adjacent at the end of our last move
Value
true
lastMatch
int// match and turn of our last move, to spot new matches
Value
1
lastTurn
intValue
49
habitsOf
func(name string) *reader.habits- OID
- 0ac583…6e78:9
habitsOf details
readerBot
typeValue
reader.readerBot
coinMove
func(s bot.State) bot.Action- OID
- 0ac583…6e78:11
coinMove details
init.8
func()- OID
- 0ac583…6e78:12
init.8 details
Render
func(path string) stringRender shows what reader has learned about each opponent.
- OID
- 0ac583…6e78:13
Render details
habits
:
type
=reader.habits
notes : *v0.Tree Inspect
wasClose
:
bool
=true
lastMatch
:
int
=1
lastTurn
:
int
=49
habitsOf : func(name string) *reader.habits Inspect
readerBot
:
type
=reader.readerBot