ultimate_alarm_clock icon indicating copy to clipboard operation
ultimate_alarm_clock copied to clipboard

Feature: Matching Tiles Challenge

Open duckcommit opened this issue 1 year ago • 10 comments

Description

New challenge to wake up!! Let's add a matching tiles game where the user needs to select the matching tiles, which will be shuffled and upside down. The user needs to match it based on memory. I would like to work on that,

Screenshots

No response

duckcommit avatar Feb 06 '24 04:02 duckcommit

I've assigned this to you

MarkisDev avatar Feb 09 '24 01:02 MarkisDev

Hey @AryanSarafDev, I would like to work on this issue.

Gaurav-Kushwaha-1225 avatar Aug 31 '24 10:08 Gaurav-Kushwaha-1225

Let's add a matching tiles game where the user needs to select the matching tiles, which will be shuffled and upside down. The user needs to match it based on memory. I would like to work on that,

@Gaurav-Kushwaha-1225 Sure you can work on it. But try implementing fancy animations for the tiles

AryanSarafDev avatar Oct 20 '24 05:10 AryanSarafDev

hey if the Issue is not assigned I would love to add this one. I had built this game earlier -

https://github.com/user-attachments/assets/6fdab8e2-905b-4134-a3f9-38c25046fa45

is this what you are talking about?!

khush1yaaar avatar Nov 05 '24 07:11 khush1yaaar

@khush1yaaar I guess @Gaurav-Kushwaha-1225 is working on it. And no we are not talking about piano tiles. It is a memory based tile flipping game Screenshot_2024-11-05-12-53-26-803_com.google.android.googlequicksearchbox.jpg

AryanSarafDev avatar Nov 05 '24 07:11 AryanSarafDev

Hello @AryanSarafDev,

I encountered an issue while working on the new feature. Here are the relevant links:

The problem I'm facing is that after implementing these changes, the home page is stuck on loading and is not displaying the alarms. Additionally, the selectedProfile in the HomeController is showing up as an empty string, which should show as Default.

I suspect this might be due to the FutureBuilder in home_view.dart not being able to load the future properly.

Could you please take a look and help me identify why this is happening? Thanks in advance!

https://github.com/user-attachments/assets/af02d47f-f2cb-4f8c-9458-4560617447e1

Gaurav-Kushwaha-1225 avatar Nov 16 '24 15:11 Gaurav-Kushwaha-1225

Hello @AryanSarafDev,

I encountered an issue while working on the new feature. Here are the relevant links:

The problem I'm facing is that after implementing these changes, the home page is stuck on loading and is not displaying the alarms. Additionally, the selectedProfile in the HomeController is showing up as an empty string, which should show as Default.

I suspect this might be due to the FutureBuilder in home_view.dart not being able to load the future properly.

Could you please take a look and help me identify why this is happening? Thanks in advance!

document_6181221167517406094.mp4

@Gaurav-Kushwaha-1225 Sure will have a look at it

AryanSarafDev avatar Nov 17 '24 08:11 AryanSarafDev

I am a proficient flutter developer, new to open source. please assign me this issue.

khush1yaaar avatar Dec 07 '24 11:12 khush1yaaar

Hello @AryanSarafDev,

I encountered an issue while working on the new feature. Here are the relevant links:

The problem I'm facing is that after implementing these changes, the home page is stuck on loading and is not displaying the alarms. Additionally, the selectedProfile in the HomeController is showing up as an empty string, which should show as Default.

I suspect this might be due to the FutureBuilder in home_view.dart not being able to load the future properly.

Could you please take a look and help me identify why this is happening? Thanks in advance!

document_6181221167517406094.mp4

ah I went through your code. This usually happens when the model for alarms is changed. Did you make sure you changed the model usage everywhere?

AryanSarafDev avatar Dec 07 '24 11:12 AryanSarafDev

ah I went through your code. This usually happens when the model for alarms is changed. Did you make sure you changed the model usage everywhere?

Hi @AryanSarafDev,

I've updated the model usage everywhere based on your earlier guidance. However, I'm encountering the same issue.

  • Like, for non-signed-in users, userModel is null, and their alarm data is being stored locally in the Isar DB, as usual.
  • Since I updated the alarm model to include new parameters, I expected the new alarms in the DB to follow the new model format.
  • However, the snapshot in home_view.dart is still returning null data from local storage.

I believe I've updated all instances where the alarm model is used, and

  • iff the new model was being used in the old format anywhere, I would have expected an error because the new model requires the new parameters i.e. isMatchTilesEnabled and tilesDifficulty.

Could you please review my changes or provide some guidance on what might be causing this behavior? I suspect I might have overlooked something subtle or misunderstood part of the implementation. If discussing this here feels inconvenient, I'd be happy to have a quick chat on Slack for clarity.

Gaurav-Kushwaha-1225 avatar Dec 13 '24 21:12 Gaurav-Kushwaha-1225