Inspiration
Few weeks ago, a big creator JackSucksAtLife questioned in his reddit videos the presence of a custom connections game website, we were determined to create one then, at the same time we also came to know about this hackathon it was a easy decision to create this game.
What it does
users can create cohesions(basically connections) where they provide cluster of words and context, these game boards are then rendered as webviews(custom post) on that particular subreddit. Other users can play the games and enjoy a social experience.
How we built it
So this is where it gets tricky, first we decided we decided to built a web version of the same project, so we built the whole game in sveltekit. Later we ported all components and functions to Devvit platform. Both now being independent of each other.
Challenges we ran into
Passing state between multi stage forms menu item: yes we had to make a workaround where we kept a disabled field with json data to pass states between the forms Context in non conventional places: we needed to use toast in places that didn't define UI contexts, unfortunately we couldn't get around this issue, so when creating a new game we cant navigate to it :(
Accomplishments that we're proud of
Converting Svelte into Devvit
Correctly passing data to where needed
What we learned
Its really fun exploring newer libraries or frameworks where little docs and support makes us more proud of completing each new objective however difficult/stupid it might have been
What's next for Cohesion
We plan to release both the website and reddit application to the public, creating our own subreddit for building a tightly knit community
Built With
- devvit
- tailwind
Log in or sign up for Devpost to join the conversation.