Saturnyn / ChessPursuit

MIT License
260 stars 34 forks source link

Procedurally generated infinite scrolling pursuit? #9

Open EkanshdeepGupta opened 3 years ago

EkanshdeepGupta commented 3 years ago

Hey, I was wondering if you thought about having an infinite scrolling version of this game, like Temple Run. Of course, generating new puzzles is the tricky part, but I would love to try and make an infinite scrolling version of this. If you have some thoughts about it, do let me know. If you are interested, we can work on it together.

Saturnyn commented 3 years ago

Hi, to be honest, this project was only created for a game jam a few years ago, and I don't have any plan to maintain it or improve on it. Feel free to fork this project it if you want to adapt it, but you should probably build a new project from scratch: the code was done in a "quick & dirty" mind as I was only supposed to work on it for a few days.

Making an infinite version of this is definitely an interesting idea, but I am not sure what would be the best way to do it.

If I were you, I'd start by building debugging tools: something to visualize level parts more easily (display the walkable tiles), and something to solve the level automatically by checking all possible movements.

Then I think you have three possible solutions:

Then you could generate infinite levels by assembling the different type of parts. For example, if your procedural generator only works with pawns, you could use it to create "filler" parts and mix in the hand crafted parts to add some variety. If generating problems turns out to be too complicated, you could also add difficulty differently: by increasing the speed, by lowering the line of sight, etc...