Inspiration

At the last hackathon, namely the Reddit Games and Puzzles Hackathon, I implemented a card solitaire game. I like this game and wanted to implement it so that I could play it at work. Everything was completely new to me, and I had to learn, read, and figure things out, but it was good that I had time for that. In the end, I did what I wanted to do and created a game that I play every day. But as I realized, it turned out to be quite difficult for others, so this time, considering that it was something new for me again and I had less time, I decided to create something simple. Who said simple is bad?

What it does

Once a day at 12 a.m., a post with a question is created. People respond to it and see the percentage of other people's responses. Controversial issues can be discussed in the comments below the post.

How we built it

Questions are stored as objects with answers. Once a day, before creating a post, the server checks the current date and searches for that date in the list of questions. If it is there, the server takes the question of the day and creates a corresponding post.

Challenges we ran into

As before, I had difficulty understanding how to create a post and what I could influence. However, this was not so much a problem as my inexperience. The main challenge was setting the background and icon for the splash screen. I followed the instructions, consulted the internal AI and the community, but nothing helped. Thank you very much @u/ChatGPTTookMyJob for helping me figure it out.

Accomplishments that we're proud of

I am glad that I had the opportunity to do something and that I didn't pass it up. I implemented my idea, it's simple and it works. I like how it looks and how it works. The most important thing is that a task was set and it was completed.

What we learned

Using devvit web was a new experience for me, and I can say that I liked it. I liked that there is a client/server concept and that I myself describe how it should work. It's very cool, and I liked it.

What's next for Daily-Quest

At the moment, there are enough questions to last until the end of May 2027. In the future, new questions can be added depending on the activity and interest of the community.

Built With

Share this project:

Updates