Skip to content

Commit

Permalink
Added screenshots of different levels.
Browse files Browse the repository at this point in the history
  • Loading branch information
packetpirate committed Apr 27, 2015
1 parent 4bdb02e commit ba21548
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ Simply fork/clone this repository, or download the ZIP, to get the files. Then,
You sure can. Just create a text file with 15 rows of 15 characters. If you don't know what I mean by this, look at the levels that come with this repository. It is a good idea to put a border around the maze, though it is not required. Here is a key of the characters used.

1 - Wall

0 - Blank/Nothing

S - Starting position.

E - End position.

Then go to "levels.rkt" and add the level to the "maps" list in the same way that the others were added and in "tune-traveler.rkt", change the "LEVEL" variable to the list index for your level (if your level is the 5th in the list, change it to 4).
Expand Down
Binary file added images/aStarT6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tune-traveler_04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tune-traveler_05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tune-traveler_06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion levels.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
(define maps (list (file->lines "levels/level1.txt")
(file->lines "levels/level2.txt")
(file->lines "levels/level3.txt")
(file->lines "levels/level4.txt")))
(file->lines "levels/level4.txt")
(file->lines "levels/level5.txt")))

; Checks to make sure the map in the file is a 15x15 grid.
(define (validMap? m)
Expand Down
15 changes: 15 additions & 0 deletions levels/level5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
111111111111111
100000000000001
101011111110111
101010000010001
101011111010101
101010001010101
1010101S1000101
101010111011111
101010000010001
101011111110101
111000000000101
100011111111101
101110001000101
1000001000101E1
111111111111111

0 comments on commit ba21548

Please sign in to comment.