Inspiration
Inspired by the classic icebreaker game of two truths and a lie.
What it does
Users will submit two truths and a lie, and other players will be able to try and guess which one is the lie.
How we built it
Build using the Devvit library as a blocks-post and the Reddit API.
Challenges we ran into
I ran into issues getting my redis calls to work correctly as they were returning undefined until I added a finally block. I also wasn't able to get navigating to the newly created post to work correctly either, as well as getting posts to show the guessing screen upon navigation instead of the original response submitting screen. I was confused as to why even though I successfully got the new post's link, I still wasn't able to navigate to it automatically.
Accomplishments that we're proud of
I'm proud of creating an MVP of my two truths and a lie game idea in a short amount of time, especially since I'm completely new to using the Devvit platform.
What we learned
I learned a lot about how to navigate the Devvit platform and add different kinds of functions to my app.
What's next for Two Truths and a Lie
I hope to get creating new posts and navigating to them to work correctly, as well as showing the guess answer screen after a new post has been submitted. After that, I plan to find a way to make all my saved responses unique as right now, only 2 truths and 1 lie can be saved at a time so all posts running the app are identical.
Built With
- devvit
- javascript
- typescript
Log in or sign up for Devpost to join the conversation.