about summary refs log tree commit diff stats
path: root/html/rogue/js/config.js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-12-27 08:19:00 -0500
committerelioat <elioat@tilde.institute>2024-12-27 08:19:00 -0500
commit73ae9acf92c4561868118a3fa38724c891ba0a8e (patch)
tree46b7d5caa2f42e3eb029ff8c9a573db05e1218ec /html/rogue/js/config.js
parent3a4c1117bfc0b902fdec41467bc6528d2f7a6f6d (diff)
downloadtour-73ae9acf92c4561868118a3fa38724c891ba0a8e.tar.gz
*
Diffstat (limited to 'html/rogue/js/config.js')
-rw-r--r--html/rogue/js/config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/html/rogue/js/config.js b/html/rogue/js/config.js
index 66c4916..cabc068 100644
--- a/html/rogue/js/config.js
+++ b/html/rogue/js/config.js
@@ -26,7 +26,8 @@ const Config = {
 
     player: {
         MOVE_SPEED: 0.1,
-        SIZE_RATIO: 1/3 // The player's size relative to the hex size
+        SIZE_RATIO: 1/3,
+        VISION_RANGE: 3 // Number of hexes the player can see
     },
 
     camera: {