Y
Hacker News
new
|
ask
|
show
|
jobs
by
chairmanwow1
1731 days ago
This seems like a lot of fun. How does it work? Do you interact with the game via an API?
2 comments
xtagon
1731 days ago
You build the API which implements a move handler, and every turn of the game the Battlesnake engine calls your move API with the full board state information and your API returns a move (up down left or right).
https://docs.battlesnake.com/references/api
link
qnsi
1731 days ago
You create a server, that Battlesnakes call via API.
link
https://docs.battlesnake.com/references/api