Skip to content

Commit

Permalink
new level (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennn committed May 12, 2023
1 parent 9c67e6f commit 66de175
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions sketching-examples/examples/pacman/maze-game.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@

; The levels are drawn with unicode.

;; Level 1 - soegaard
(define level-data
(define level-1-soegaard
(vector
;0 4 8 2 6 0 4 8
"╔════════════╕╒════════════╗"
Expand Down Expand Up @@ -265,8 +264,7 @@
"║..........................║"
"╚══════════════════════════╝"))

; Level - Stephen de Gabrielle
#;(define level-data
(define level-Stephen-de-Gabrielle
(vector
;0 4 8 2 6 0 4 8
"╔═══╗║T║╔════╕╒════╗║T║╔═══╗"
Expand Down Expand Up @@ -296,6 +294,38 @@
"║.*.║║t║║...*..*...║║t║║.*.║"
"╚═══╝║T║╚══════════╝║T║╚═══╝"))

(define level-1-bennn
(vector
;0 4 8 2 6 0 4 8
"╔══════════════════════════╗"
"║..........................║"
"║.┌─┐.┌──────┐.┌─────┐.┌─┐.║"
"║.│┌┘.└──────┘.└─────┘.└┐│.║"
"║.││....................││.║"
"║.││.┌┐.┌──┐.┌┐.┌┐.┌──┐.││.║"
"║.││.││.│ │.││.││.│ │.││.║"
"║.││.││.│ │.││.└┘.└──┘.││.║"
"║.││.└┘.│ │.└┘.........││.║"
"║.││....└──┘.......┌─┐.┌┘│.║"
"║.││.┌┐............│ │.└─┘.║"
"║.││.││...╔______╗.│ │.....║"
"║.││.││...║ ║.│ │.┌─┐.║"
"║.││.└┘...╚══════╝.└─┘.└─┘.║"
"║.││.......................║"
"║.│└┐.┌─────┐.┌─────┐.┌─┐..║"
"║.└─┘.└─────┘.└─────┘.└─┘..║"
"║..........................║"
"║.┌─────┐..*┌──┐*..┌─────┐.║"
"║.│ │..*└──┘*..│ │.║"
"║.│ ┌─┘..........└─┐ │.║"
"║.│ │....┌────┐....│ │.║"
"║.│ │.┌┐.│ │.┌┐.│ │.║"
"║.└───┘.└┘.└────┘.└┘.└───┘.║"
"║..........................║"
"╚══════════════════════════╝"))

(define level-data level-1-bennn)

; T = tunnel portal (connects to other side)
; t = tunnel (slow down actors)
; * = energizer pellet
Expand Down

0 comments on commit 66de175

Please sign in to comment.