Skip to content

Matrix Of Circumferences is a variation of the Brushfire or Wavefront pathfinder algorithms which does not find the best path, but iterates the map from left to right (instead of jumping to different positions)

Notifications You must be signed in to change notification settings

Catsoft-Studios/MOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MOC: Matrix of Circumferences

This code was created for a university assignment and may not be sold nor used for any lucrative purposes. We do not take any responsibilities of the injuries it may cause. The code provided does not take into account strange variable values (like placing the player onto an obstacle or out of the world space grid. If so, you will be alerted with segmentation faults or weird results.

moc

Information

All credit to Martí-Joan Nogué Coll - Catsoft-Studios 2011. More information about the code can be found at

catsoft-studios.com

If you have any questions drop us a line by making use of the contact page.

Installation and usage

Due to the code is in one file, compile the code as a normal c++ file

g++ main.cpp -o main.x

To execute the program, type

./main.x

Information

If you want to change the position of the objects (player, target or obstacles) do it within the code. There is a special comment marked as ** MODIFICABLE ** from where you can tweak variables to view different results.

About

Matrix Of Circumferences is a variation of the Brushfire or Wavefront pathfinder algorithms which does not find the best path, but iterates the map from left to right (instead of jumping to different positions)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published