spiritualxtc / mazegen Goto Github PK
View Code? Open in Web Editor NEWC++ Maze Generator
C++ Maze Generator
_____ ________ __ / \ _____ ________ ____ / _____/ ____ ____ ________________ _/ |_ ___________ / \ / \\__ \ \___ // __ \ / \ ____/ __ \ / \_/ __ \_ __ \__ \\ __\/ _ \_ __ \ / Y \/ __ \_/ /\ ___/ \ \_\ \ ___/| | \ ___/| | \// __ \| | ( <_> ) | \/ \____|__ (____ /_____ \\___ > \______ /\___ >___| /\___ >__| (____ /__| \____/|__| \/ \/ \/ \/ \/ \/ \/ \/ \/ /******************************************************************** File: readme.txt Author: s3435406 : Chris Snell ********************************************************************/ SVG: --- Line Colors Red = Path from start to finish (If their is one) White = Pathways. Edges/Cell Adjacency. Blue = Walls dividing the pathways up Adjacency Edges are drawn along the centre of a cell, rather than the upper left - looks nicer :) Prims: ------ Runs a little on the slow side :(. Didn't have enough time to refactor or optimize . #uniproblems Command Line Arguments: ----------------------- Generation --gr [<seed>] [<width>] [<height>] : Generate using Recursive Division --gp [<seed>] [<width>] [<height>] : Generate using Prims Classic Algorithm --gpm [<seed>] [<width>] [<height>] : Generate using Prims Modified Algorithm Traversal --pw : Wall follower --pt : Tremaux --pm : AStar Manhatten Distance --pe : AStar Euclidean Distance IO --lb <filename> : Load Binary --sb <filename> : Save Binary --sv <filename> : Save SVG General Notes / Bugs / Etc. -------------- A Better, Cleaner Method of traversal is needed across A* The current just uses an extension of A* for the different heuristics. There should be a better way.... somehow :) Policy Pattern should work, but some magic will be required so the entire A* algorithm isn't implemented in the .h or included via .hpp file Wall Follower was implemented slightly wrong - it should have only pushed/popped junctions, and follow the path until the next junction.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.