-
Notifications
You must be signed in to change notification settings - Fork 11
UniversalHiveProtocol
Jon Thysell edited this page Mar 9, 2018
·
27 revisions
Draft Proposal
info
The info
command returns the engine's identifier string.
Example:
info
id Mzinga.Engine 1.0.0.0
ok
newgame [GameType]
The newgame
command starts a new game should return a board string.
Example without GameType:
newgame
Base;NotStarted;White[1]
ok
Example with GameType:
newgame Base+MLP
Base+MLP;NotStarted;White[1]
ok
play Move
The play
command tries to play the specified move string and should return the updated board string if successful.
Example:
newgame
Base;NotStarted;White[1]
ok
play WS1[0,0,0]
Base;InProgress;Black[1];WS1[0,0,0]
ok
validmoves
The validmoves
command returns a semi-colon separated list of move strings for every valid move.
Example:
newgame
Base;NotStarted;White[1]
ok
validmoves
WS1[0,0,0];WB1[0,0,0];WG1[0,0,0];WA1[0,0,0]
ok
Mzinga Copyright © 2015-2023 Jon Thysell.
Hive Copyright © 2016 Gen42 Games.
Mzinga is in no way associated with or endorsed by Gen42 Games.
Getting Started
Mzinga's Projects
Other