Skip to content

Use DFS to generate ascii-based maze map(only command line).

Notifications You must be signed in to change notification settings

butteria/gen_maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compile file

  • gcc -o maze main.c maze.c
+---------------------------------------+
|       |                               |
|   |   |-------------------+   |   |   |
|   |   |           |       |   |   |   |
|---|   |   +----   |   |   +---|   |   |
|   |   |   |           |       |   |   |
|   |   |   |----------------   |   |   |
|       |   |       |           |   |   |
|   +---+   |   |   +---+   +---+   +---|
|   |       |   |       |   |           |
|   |   ----|   |---+   |   |   ----+   |
|   |       |   |   |   |   |       |   |
|   |----   |   |   |   |   +----   |   |
|   |       |   |   |   |           |   |
|   |   |   |   |   |   +-----------|   |
|   |   |           |       |       |   |
|   |-------+   +-------+   |   |   |   |
|   |       |   |       |   |   |       |
|   |   |   +---+   |   |   |   +-------|
|       |           |       |           |
+---------------------------------------+

Run cli

./maze --length 10 --width 20

About

Use DFS to generate ascii-based maze map(only command line).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages