Skip to content

Stykki/CppPythonModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppPythonModule

Made by Vignirv19 and Magnusm19

THIS PROGRAM IS WINDOWS ONLY

Installation

After donwloading and unpacking cd into the root directory and run

python setup.py build
python setup.py install

After installation try running the test module named "testModule.py"

How to use

After installation generating mazes becomes as easy as

import maze_generator

#                                    Width   Height   visible  Display Delay    Seed
prims = maze_generator.generatePrims(   6  ,    6    ,    1    ,    30      ,     40    )
kruskals = maze_generator.generateKruskals(6,6,1, 30)
aldusBroder = maze_generator.generateAldusBroder(6,6,1, 30)
sideWinder = maze_generator.generateSideWinder(6,6,1, 30)
recursive = maze_generator.generateRecursiveBacktrack(10,10,1, 30)

Non optional parameters

Width & Height

The width and Height of the maze

Optional parameters

Visability

Wether the maze is displayed during creation 1 = display 0 = no display

Display Delay

time in ms between prints (only matters if visable = 1)

Seed

Random if 0 else user input

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •