battle-snake / battle_snake

AI Programing Competition Game Server
GNU Affero General Public License v3.0
12 stars 11 forks source link

add buffer param, to keep a buffer zone around food, spawn point, and… #15

Closed joram closed 6 years ago

joram commented 6 years ago

… walls.

joram commented 6 years ago

this is still a work in progress, still figuring out how elixir works with docker.

Dkendal commented 6 years ago

Hey @joram, the instructions at https://github.com/battle-snake/battle_snake#running-with-docker should be up to date on how to run with docker.

joram commented 6 years ago

@Dkendal that's true, but if I'm pulling the image, I'm not running my modified code. I got it running locally last night, and with a little adjusted the elixir to actually compile (code style might be ugly) but I think it's good for a review now. It's a very simple adjustment to add a buffer, not the fancy voroinoi one.

Dkendal commented 6 years ago

FYI you don't have to worry about code style any more with elixir 1.6 because it ships with mix format 😄

joram commented 6 years ago

Nice, I will mix format, then I think it's good for review.

john-swu commented 6 years ago

@Dkendal thoughts?

Dkendal commented 6 years ago

Will review tonight!

On Thu, Feb 1, 2018, 3:38 PM John Oram, notifications@github.com wrote:

@Dkendal https://github.com/dkendal thoughts?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/battle-snake/battle_snake/pull/15#issuecomment-362394411, or mute the thread https://github.com/notifications/unsubscribe-auth/ADBAu46KDBVmUC3iSFjEVnXj3jaTra8Fks5tQiC-gaJpZM4Rl-jS .