A Go version of the https://lcthw.dev/learn-code-the-hard-way/curseyou-python-rogue that makes a tiny Rogue in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
434 B

--- 02_mazes_and_enemies/data.go 2025-10-06 10:40:57.847195400 -0400
+++ 03_pathing_enemies/data.go 2025-10-06 02:44:43.658927000 -0400
@@ -11,9 +11,10 @@
RENDER = true
SHOW_RENDER = false
- SHOW_PATHS = false
+ SHOW_PATHS = true
HEARING_DISTANCE = 6
)
type Map [][]rune
+type Paths [][]int
type Position struct {
@@ -31,4 +32,5 @@
Screen tcell.Screen
Level Map
+ Paths Paths
Player Enemy
Status string