This commit is contained in:
Kim Ravn Hansen
2025-10-04 16:09:59 +02:00
parent 4a1439f14d
commit 8fb279cdbb
6 changed files with 96 additions and 475 deletions

View File

@@ -11,7 +11,6 @@
background-color: #000;
color: #ccc;
font-family: "Courier New", monospace;
overflow: hidden;
}
#gameContainer {
@@ -20,7 +19,7 @@
#viewport {
font-size: 10px;
line-height: 8px;
line-height: 7px;
white-space: pre;
border: 2px solid #0f0;
display: inline-block;
@@ -30,12 +29,11 @@
}
#minimap {
font-size: 12px;
line-height: 12px;
line-height: 11.5px;
white-space: pre;
display: inline-block;
padding: 2px;
border: 5px solid #666;
/* color: #666; */
background-color: black;
}
@@ -46,6 +44,8 @@
#mapInput {
margin-top: 20px;
overflow-x: scroll;
overflow-wrap: normal;
}
textarea {
@@ -80,15 +80,15 @@
<div id="mapInput">
←→↑↓
<br />
<textarea id="mapText" rows="10" cols="50">
<textarea id="mapText" rows="10" cols="120" wrap="off">
############################################################
############################################################
############################################################
## ################# ########################
## # ################# # ## ########################
## #P Z###############Z # ## ################ ::: P(north) Z(channel_1) Z(channel_1) // Comments
## # # ################# # ## #### ####
### #E # # ## # #### # # #### ::: E(gnoll)
## # ################# ########################
#### # ################### # ## ########################
## P Z###############Z # ## ################ ::: P(east) Z(a, b, west) Z(b, a, east) // Comments
## ######################## # ## #### ####
### E # # ## # #### # # #### ::: E(gnoll)
#### ################## ## #### # ####
##### ################### # ## # # #### ####
######E#################### # #### ::: E(Goblins, gnoll) // These are comments
@@ -100,22 +100,22 @@
###### #################### # ############################
###### #################### # ############################
######E#################### # ############################ ::: E(gnoll)
###### ## ##### ## ############################ :::
###### ## Z#### ## # # ############################ ::: Z(2) // Channel 2
###### ## ####Z ## ######## ############ ::: Z(2) // Channel 2
###### ## ##### ## ############################ :::
###### ## Z#### ## # # ############################ ::: Z(c, d, west)
###### ## ####Z ## ######## ############ ::: Z(d, c, east)
###### ## ## # ########### ## ######## ############
######E## # #E ############ ::: E(Dwarves, gnoll) ; E(Gelatinous_Cube, gnoll)
###### # # # ############
######### # ## ########### # ######### # ############
######### # # ########### # ######### # # ############
######### ########### # ######### ############
###########O############### # ######### #### ############### ::: O(1)
###########Z############### # ######### #### ############### ::: Z(e, f, null)
########################### # ######### #### ###############
########################### # ######### #### ###############
########################### # ######### #### ###############
########################### # #### ###############
######################### # #### # # # ######## ###
########################o # # ######## # ### ::: o(2)
########################Z # # ######## # ### ::: Z(f, null, east) // you can teleport here, but you cannot teleport back
######################### # ##### # # # # ######## ###
######################### # # ###
######################### ####################### # ###