Change level representation to use only ascii characters by default
This commit is contained in:
parent
4a05840eff
commit
36559eb386
2
arc.6.md
2
arc.6.md
|
@ -36,7 +36,7 @@ Default keys:
|
|||
: Characters to display for each game object, needs to have length 15. (default: " λ$⊕⭍#/\-|+<>^v").
|
||||
|
||||
`-f,--fchars` *string*
|
||||
: Characters to represent each game object in the levels file, needs to have length 15. (default: " λ$⊕⭍#/\-|+<>^v").
|
||||
: Characters to represent each game object in the levels file, needs to have length 15. (default: " @$o⭍#/\-|+<>^v").
|
||||
|
||||
`-s,--start` *N*
|
||||
: Start directly at level number *N*. (default: 1).
|
||||
|
|
2
arc.bqn
2
arc.bqn
|
@ -20,7 +20,7 @@ opts←{
|
|||
}⍟∨´"-h"‿"--help"∊a
|
||||
|
||||
chars ⇐ ⊢_optl_" λ$⊕⭍#/\-|+<>^v" "-c"‿"--chars"
|
||||
fchars⇐ ⊢_optl_" λ$⊕⭍#/\-|+<>^v" "-f"‿"--fchars"
|
||||
fchars⇐ ⊢_optl_" @$o⭍#/\-|+<>^v" "-f"‿"--fchars"
|
||||
levels⇐ ⊢_optl_"levels" "-l"‿"--levels"
|
||||
n⇐{1⌈•BQN⎊{𝕊: •Out "Invalid starting level number" ⋄ •Exit 1} 𝕩}_optl_ 1 "-s"‿"--start"
|
||||
}
|
||||
|
|
16
levels
16
levels
|
@ -1,40 +1,40 @@
|
|||
##############
|
||||
# #
|
||||
# ######⊕ #
|
||||
# ######o #
|
||||
# #
|
||||
# #
|
||||
# > / #
|
||||
# # λ #
|
||||
# # @ #
|
||||
##############
|
||||
|
||||
##############
|
||||
# #
|
||||
# > / #
|
||||
# λ #
|
||||
# @ #
|
||||
# #
|
||||
# ⊕ \ #
|
||||
# o \ #
|
||||
# #
|
||||
##############
|
||||
|
||||
###############
|
||||
# # ⊕ #
|
||||
# # o #
|
||||
# v / #### #
|
||||
# #/ # \ #
|
||||
# # ## #
|
||||
# #\ λ / #
|
||||
# #\ @ / #
|
||||
# #### ## / #
|
||||
# \ #
|
||||
###############
|
||||
|
||||
##########################
|
||||
# #
|
||||
# / λ < / #
|
||||
# / @ < / #
|
||||
# \ #
|
||||
# # #
|
||||
# \ #### ## #
|
||||
# ### ## ## # # #
|
||||
# # # ## # #
|
||||
# ## # #
|
||||
# # ##⊕ #
|
||||
# # ##o #
|
||||
## #
|
||||
##########################
|
||||
|
|
Loading…
Reference in New Issue