FOSSRIT / pyCaveExplorer

A dungeon crawler-style cave exploration game.
2 stars 1 forks source link

Develop level generation algorithm #1

Closed dtgay closed 12 years ago

dtgay commented 12 years ago

We could start thinking about dungeon geeration, namely:

ralphbean commented 12 years ago

I think some of this is going on inside the Flash prototype already that @insanefastone is working on.

ghost commented 12 years ago

As of right now, there's a random number-controlled switch that has a weighted possibility of creating tiles that are either a path or a wall. If it generates a path, it then runs a second switch that has a weighted chance of adding the start, goal, or a treasure inside that tile. If a level is created without a start or a goal, it is scrapped and a new one is made. The next thing we're doing is creating a search that will see if a path can be made from start to goal.

Also, I like the dragons idea.

dtgay commented 12 years ago

Level generation has basically been settled on, and the solver code is being implemented.