-
The beginning of the game
-
View your values for each field
-
Work to earn money, study to gain knowledge
-
Go to school to gain knowledge
-
Using your phone makes you happy, but decreases your knowledge :(
-
Sleeping increases energy
-
Panic motivates you to study more, but makes you unhappy
-
Items you can buy to boost your energy
-
Buy items
-
There's a chance you could lose your phone/computer at school! D: You can buy a new one at the store
-
Ranked against other users based on your combined value of the different fields
-
Your final grade is based on your knowledge, happiness, and energy fields after 14 days
Inspiration
The purpose of this project is to help students who struggle with studying to reinforce good study habits.
What it does
Star Student is a Discord bot that users will play a game with where all fields must be balanced in order to study for finals. There are different interactions, such as using your phone, going to school, and work, that will affect fields like happiness, knowledge, energy, procrastination, and money. And if all goes well, you ace the exams!
How we built it
Star Student was built in Python. It uses the Discord REST API to interact with users. The Discord API had a simplistic user interphase available on all major platforms. With MongoDB, we were able to store users' data. MongoDB provided a beginner-friendly non-SQL database.
Challenges we ran into
It was difficult to try and learn a new framework. After some time, however, we were able to grasp and understand the framework.
Accomplishments that we're proud of
We are proud of using an object-oriented approach in our program, making it easier to understand and organized.
What we learned
We learned about how to use pycord, while also integrating it MongoDB using the the asynchronous Motor framework. We also learned about type-hinting, which helped with the developer workflow.
What's next for The Star Student
We hope to add more commands and items to the game so as to make it more difficult to balance the variables. For now, we have included a leaderboard to encourage competition between users in the server. This helps to make the game harder to play.
Built With
- api
- discord
- python
- replit
Log in or sign up for Devpost to join the conversation.