-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Maze Puzzle Challenge #394
Comments
This is also quite interesting! It'll have to be different each time (or most of the times) to make it actually useful. I've assigned this to you. |
I'm thinking of showing user a simple math equation & let him dismiss alarm if he is correct. |
@vedang999 Hey! The maths challenge already exists in the app. You can try coming up with a new feature or complete the puzzle challenge in this issue |
Ok then I'll work on the maze functionality. |
@vedang999 I am assigning this to you. But before implementing the feature, you can first discuss your approach here. If there'll be any issue we will sort it out, so that you won't have to redo it👍 |
@AryanSarafDev I'm planning to use this package. |
Yes you can proceed @vedang999 |
@AryanSarafDev |
I am working on implementing the maze challenge state using shared preferences. My initial approach involves saving a variable in the format <userMazePref, alarmId> for each alarm and calling a destructor where needed. However, this seems like a brute force method. An alternative approach could be to follow the implementation used for the math challenge, utilizing variables such as isMathEnabled and defining similar ones for the maze challenge. Could you please provide insights on the changes made to the files during the math challenge implementation? This will help me ensure consistency and efficiency while adding the maze challenge feature. |
@vedang999 Sure! Add 'isMazeChallengeEnabled' to the alarm model in the database. For handling the ui to enable it, make an observable variable using GetX in addorupdatealarmcontroller file and use it to update the value of the switch and while saving the alarm too. Ask if you need further explanation! |
@AryanSarafDev |
@AryanSarafDev |
@vedang999 For the SQLite error, in the isar database and firebase provider file theres a SQL command to create a table. Add your columns there too |
hey.. @AryanSarafDev |
Hey @vedang999 ! Did you add the column to the sqlite table too and everywhere the model is used? And pull the latest commit from the main branch. Lot of things have changed! |
Description
Functionality Overview:
The Maze Puzzle Challenge integrates with the alarm app, requiring users to navigate through mazes of varying difficulty levels.
Users start at the beginning of the maze, and upon successfully reaching the destination, the alarm deactivates, providing a gamified and interactive wake-up experience.
User Impact:
Engaging Wake-Up Routine: Introducing a maze puzzle adds an element of fun and challenge to the wake-up process, making mornings more interesting and motivating for users.
Customizable Difficulty Levels: Catering to users with different preferences, the feature offers three levels—easy, medium, and hard—allowing individuals to tailor the challenge to their desired intensity.
Enhanced Mental Engagement: Solving a maze stimulates cognitive activity, providing a positive and energizing start to the day, contributing to the overall well-being of the user.
I want to work on this issue, so please consider assigning it to me.
Screenshots
Something like this
The text was updated successfully, but these errors were encountered: