Skip to content

uuner/zombie-maze-walker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zombie-maze-walker

The objective of the game is to exit the maze avoiding the zombies.

To play the game with the default maze open a terminal window and run the script:

./zombie-maze-walker.sh

To play with some other maze use the flag -f For example:

./zombie-maze-walker.sh -f smallmaze.txt

Requirements

The game should run on any system with bash and GNU sed and standard Unix tools.

Screenshot

+--+--+--+--+--+
|  |     |     |
+  +  +  +--+  +
|  |  |   Z  > |
+  +Z +--+  +  +
|  |  |  |  |  |
+  +  +  +  +  +
|     |     |  |
+--+--+--+--+  +
|               
+--+--+--+--+--+

Building a custom maze

You can build your own maze. The game assumes the maze is of rectangular shape, so keep the length of all lines equal. The character is represented by one of ><^v characters. Zombies are one of the udlr letters. The exit must be on the outer border.

Replay mode

To record your game and replay it later use the -r flag.

./zombie-maze-walker.sh -r

The game will output the command to replay your game after you finish playing.

About

A short shell script about zombies and mazes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages