Created
June 19, 2019 10:26
-
-
Save andreasronge/a3afa4cdf26570b7ab3cc652e507f6eb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Game do | |
defstruct board: nil, my_position: nil, name: "", health: 0 | |
end | |
defmodule Board do | |
defstruct positions: %{}, width: 0, height: 0 | |
end | |
defmodule Snake do | |
defstruct id: "", positions: %{} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment