summaryrefslogtreecommitdiff
path: root/backend.go
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-01-09 15:53:32 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2020-01-09 15:53:32 -0500
commit6d852e08a93eec6f1fb6940253bf21ebc2dacb9e (patch)
treeca1cea2155fd926c3b92bd03f278154b9d14bde6 /backend.go
parentfb41c965a4c1dab2d46b2848e92c8a9999750de7 (diff)
Layout placeholders scale correctly!
Diffstat (limited to 'backend.go')
-rw-r--r--backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend.go b/backend.go
index d1cd758..ad9149b 100644
--- a/backend.go
+++ b/backend.go
@@ -55,6 +55,7 @@ var boatlist = [5][2][5]int{
// target stores info the player knows about the ennemy.
// gains keeps track of the ships the player has managed to sink.
type player struct {
+ name string
primary [10][10][3]int
// Primary Boat Tile Vector
// [y][x][boatID, position, hitStatus]int