Git Product home page Git Product logo

maze-gen-svg's Introduction

maze-gen-svg

Maze generator that produces SVG images of the resulting maze and solution.

This was originally written in 2010 for CptS 233 @ WSU.

####Compiling

g++ main.cpp maze.cpp -o maze

####Possible command line arguments

xxx is an int for the x width of the maze (default 20)
yyy is an int for the y height of the maze (default 20)
enterX is an int for the column to enter the map (from the top, default 0)
exitX is an int for the column to exit the map (from the bottom, default -1)
  exitX of -1 makes exit on last column
print-solution is a bool value (1,0) for making the out-solved.svg (default 1)
scale is an int for size of SVG render (default 20)
  1. maze this-help This is invalid and will print out help on the CLI
  2. maze xxx yyy
  3. maze xxx yyy print-solution
  4. maze xxx yyy enterX exitX
  5. maze xxx yyy enterX exitX print-solution
  6. maze xxx yyy enterX exitX print-solution scale

maze-gen-svg's People

Contributors

peter200lx avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.