summaryrefslogtreecommitdiff
path: root/text.go
diff options
context:
space:
mode:
Diffstat (limited to 'text.go')
-rw-r--r--text.go38
1 files changed, 38 insertions, 0 deletions
diff --git a/text.go b/text.go
new file mode 100644
index 0000000..5e9f426
--- /dev/null
+++ b/text.go
@@ -0,0 +1,38 @@
+package main
+
+const keybindings = `General:
+ Esc: quit
+Selection mode:
+ h: Left
+ j: Down
+ k: Up
+ l: Right
+ ":" Command mode
+Command mode:
+ Enter a coordinate
+ q: quit
+`
+
+const letters = "ABCDEFGHI"
+
+/* Boats Info:
+ |------------+--------+----------------|
+ | BoatName | BoatID | HorizontalBoat |
+ | Carrier | 0 | ◁ ▭ ▭ ▭ ▷ |
+ | Battleship | 1 | ◁ ▭ ▭ ▷ |
+ | Destroyer | 2 | ▭ ▭ ▷ |
+ | Submarine | 3 | ◁ ▭ ▷ |
+ | PatrolBoat | 4 | ▭ ▷ |
+ |------------+--------+----------------|
+*/
+
+const boat0 = `Carrier:
+ ◁ ▭ ▭ ▭ ▷ `
+const boat1 = `Battleship:
+ ◁ ▭ ▭ ▷ `
+const boat2 = `Destroyer:
+ ▭ ▭ ▷ `
+const boat3 = `Submarine:
+ ◁ ▭ ▷ `
+const boat4 = `Patrol Boat:
+ ▭ ▷ `