Code for 2d Maze

Could some one send me C++ code to create and run 2d simple Maze please ,Thanks

Must it be made in opengl or is directx alright?

Originally posted by Starnut coder:
Must it be made in opengl or is directx alright?

Originally posted by Swami:

it must be made in OpenGL --Thanks

Could some one send me C++ code to create and run 2d simple Maze please,with openGL.Thanks

You unearthed a 10 year old thread to ask for some code that has nothing to do with OpenGL?

Has there been any update? C++ code to create and run 2D simple maze games with openGL would be helpful, thanks.

You unearthed a 20 year old thread to ask for some code that has nothing to do with OpenGL?

1 Like

did it ever exist?

that’s a tall order!
I could point to a library that can convert a closed set of d2-points into a tree of triangles/fans that covers the polygon of the closed set … if the set conforms to a none self-intersecting contour.
here
Though it solves a problem that can be tidious enough, it’s still just geometry.
If you mean to be ceriously about geometry you should visit CGAL

This is outside opengl … what did you expect?

// edited faul link