about summary refs log tree commit diff stats
path: root/html
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2025-02-17 09:09:02 -0500
committerelioat <elioat@tilde.institute>2025-02-17 09:09:02 -0500
commit86dc7f62ba51d1c9a6a8d943d188c2ddb6efa148 (patch)
tree8f8e9949707749dda606972313300126bf78f615 /html
parent82eb0fe6103e86cfccde9bdeb61aeb28e9ea66c3 (diff)
downloadtour-86dc7f62ba51d1c9a6a8d943d188c2ddb6efa148.tar.gz
*
Diffstat (limited to 'html')
-rw-r--r--html/tower/index.html14
-rw-r--r--html/tower/js/game.js2
-rw-r--r--html/tower/js/gameState.js4
3 files changed, 10 insertions, 10 deletions
diff --git a/html/tower/index.html b/html/tower/index.html
index 4de010c..10316b7 100644
--- a/html/tower/index.html
+++ b/html/tower/index.html
@@ -60,18 +60,18 @@
             flex-direction: column;
             align-items: flex-start;
             gap: 2px;
+            font-family: sans-serif;
         }
         .tower-name {
-            font-size: 12px;
-            font-weight: bold;
+            font-size: 16px;
         }
         .tower-cost {
-            font-size: 10px;
-            color: #666;
+            font-size: 12px;
+            color: #000000;
         }
         .tower-ammo {
-            font-size: 10px;
-            color: #666;
+            font-size: 12px;
+            color: #000000;
         }
         .start-button {
             margin-top: 20px;
@@ -96,7 +96,7 @@
 <body>
     <div class="game-container">
         <div class="tower-palette">
-            <!-- Tower options will be populated dynamically -->
+            <!-- Tower options populated dynamically -->
         </div>
         <canvas id="gameCanvas" width="600" height="600"></canvas>
     </div>
diff --git a/html/tower/js/game.js b/html/tower/js/game.js
index 82c6479..7495fbe 100644
--- a/html/tower/js/game.js
+++ b/html/tower/js/game.js
@@ -420,7 +420,7 @@ function populateTowerPalette() {
     const startButton = document.createElement('button');
     startButton.id = 'startCombat';
     startButton.className = 'start-button';
-    startButton.textContent = 'Start Combat';
+    startButton.textContent = 'Start Run';
     palette.appendChild(startButton);
 }
 
diff --git a/html/tower/js/gameState.js b/html/tower/js/gameState.js
index 58a7b32..3cee9ed 100644
--- a/html/tower/js/gameState.js
+++ b/html/tower/js/gameState.js
@@ -1,6 +1,6 @@
 const GamePhase = {
-    PLACEMENT: 'placement',
-    COMBAT: 'combat'
+    PLACEMENT: 'place',
+    COMBAT: 'run'
 };
 
 const TowerTypes = {