Releases: Dkendal/battle_snake
Releases · Dkendal/battle_snake
v1.0.0
Changelog for BattleSnake v1.0
- App renamed from
:battle_snake_server
to:battle_snake
BattleSnakeServer
namespace folded intoBattleSnake
Snake
andGame
models renamed toSnakeForm
andGameForm
respectively- Elixir version bumped to v1.4
- OTP version bumped to 19.0
- Client requests are now executed in parallel
- API requests will now timeout after 200ms.
If no request is received within 200ms a default ("up") move is recorded.
Similarly if any 'client' failure occurs a default move is chosen.
'client failure' includes malformed JSON resulting in parser errors, or the host going down. - World.moves is no longer formless maps, replaced with [%BattleSnake.Move{}], which contains information about the response for the move.
This will include information about if the request timed out or resulted in an error.
It just werks®
This is the first working release of the battle snake server.
This is a packaged exrm release so it's all groovy if you don't have Erlang or Elixir installed.
To run the release simply follow these instructions:
$> tar xvfz battle_snake_sever-v0.0.1-Linux-x64.tar.gz
$> cd rel/battle_snake_server
$> HOST=localhost PORT=5000 MIX_ENV=prod ./bin/battle_snake_server console
iex> Mix.Tasks.BattleSnakeServer.Createdb.run []
I make no guarantee that this release works at all. You're probably better off running it in development.
This binary is only available for Linux x64