Inspiration

We combined the themes of exploration and chain of events into this procedurally generated map that uses the idea of the wave function collapse algorithm. When a tile's identity is determined - eg a grassland or a mountain tile - it has a knock on effect to what the adjacent tiles can be according to a set rules, hence the chain of events. We implemented exploration by layering a fog of war over the land so that the user's mouse must move through the landscape parting the clouds to reveal the geography.

What it does

You could say our project is more of a piece of algorithmic art. It doesn't do much but you could compare it to a simple 2d top down game.

How we built it

We used python and Pygame to create this mini adventure game. We used github for source control and VScode live share for paired programming.

Challenges we ran into

Challenging to implement the wave function collapse algorithm. Initially we found it difficult to decompose and delegate tasks but eventually we found a workflow that was effective.

Accomplishments that we're proud of

We are proud of our use of teamwork and collaboration. We think our idea plays on the main theme of "Exploration" very well.

What we learned

We learned a new python library - pygame, and about procedural generation algorithms such as WFC. We also learnt how to develop in a team of people and talk delegation.

What's next for WFC Adventure Game

To modularise and clean up the code, particularly in main and the generate function. To comment more comprehensively and clearly. Optimise the WFC algorithm, add new tiles and soften the clouds.

ISSUES

Rivers don't connect at bends...

Built With

Share this project:

Updates