BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
Other
12 stars 10 forks source link

New Game Request: Spin the wheel #715

Closed Devayani0102 closed 1 year ago

Devayani0102 commented 1 year ago

A new cognitive game needs to be added to mindLAMP. More instructions about the game can be found on this Webpage: Iowa Gambling Task

michaelmenon commented 1 year ago

we will be adding an ETA on this asap

ZCOEngineer commented 1 year ago

Development of this game is in progress.

sarithapillai8 commented 1 year ago

We are progressing on the development and may take some more time to finish this , as there are some complexities in the implementation.

sarithapillai8 commented 1 year ago

Please see the progress of game attached. Probability integration and the activity creation from dashboard and its integration are pending. We are trying to finish the development phase by the end of next week and QA will start after that.

https://user-images.githubusercontent.com/63710347/207266726-f9596b65-f9c1-4cde-b059-cf5aa1bd3ffd.mp4

sarithapillai8 commented 1 year ago

Game development is in progress. Activity settings for this new game is implemented in LAMP-dashboard and integrated with game. Translation changes are also completed. We are stuck with wheel pointer issue and trying to fix it ASAP. Hopefully we can update the game in dashboard-staging after QA by the end of next week.

sarithapillai8 commented 1 year ago

@avaidyam @Devayani0102

We have the data format for each entry in temporal_slices is like : { duration: duration of last action, item: index of spin, level: index of buttons (1 - red, 2 - yellow, 3 - green, 4 - blue), type: balance, value: null
} Could you please confirm these values required for each of these keys? Do we need to record the won/loss values explicitly? if so where to include them?

sarithapillai8 commented 1 year ago

@Devayani0102 Could you please review and confirm the above comment?. We have done as mentioned in the comment. Our QA started testing in our zco staging.

Devayani0102 commented 1 year ago

@sarithapillai8 we do not need to record the win/loss values explicitly. However, we do need to record wether it was 'high risk' condition or 'low risk' condition, since these will be randomly assigned to different buttons each game.

ZCOEngineer commented 1 year ago

@Devayani0102 We shall review this and get back

ZCOEngineer commented 1 year ago

We shall update the ETA for this by this weekend

sarithapillai8 commented 1 year ago

We have updated the game in dashboard staging. Our QA is proceeding with the testing. You can review and suggest changes if any.

divyav2020 commented 1 year ago

We have updated Spin the Wheel game in Dashboard staging LAMP_Admin Website_New Game Request Spin the wheel.xls

Devayani0102 commented 1 year ago

The game looks good! Can we make the following three changes:

  1. change the default probability of '0' to 50 instead of 0. can we also add more options like 25 and 75.

    Screen Shot 2023-01-06 at 10 03 59 AM
  2. The high and low conditions needs to be randomized each game. Currently the first two buttons are high risk and the next two are low risk. This order needs to be different each game.

  3. can we make the wheels smaller in order to fit on a smartphone screen? I have attached the current screenshot below. IMG_6600304C0BDD-1

sarithapillai8 commented 1 year ago

@Devayani0102 The changes are updated in dashboard-staging. Once QA is done, we can update the status.

divyav2020 commented 1 year ago

We have updated Spin the Wheel game in Dashboard staging LAMP_Admin Website_New Game Request Spin the wheel.xls

ZCOEngineer commented 1 year ago

@Devayani0102 were you able to test the update?

Devayani0102 commented 1 year ago

The game looks good! For the temporal slices, can we add the condition type (High risk/ Low risk) to the value key?

{ duration: duration of last action, item: index of spin, level: index of buttons (1 - red, 2 - yellow, 3 - green, 4 - blue), type: balance, value: null }

For the visualization in the portal page (see screenshot below), can we graph the total balance over each game? Screenshot 2023-01-18 091440

ZCOEngineer commented 1 year ago

We shall check this and update @Devayani0102

sarithapillai8 commented 1 year ago

For the temporal slices, can we add the condition type (High risk/ Low risk) to the value key?

What do you expect here? 0/1 (0-high, 1-low) or in string format - High risk/ Low risk?

sarithapillai8 commented 1 year ago

@Devayani0102 Graph change requested is updated in dashboard-staging.

Devayani0102 commented 1 year ago

We can use 1- high risk and 0-low risk.

sarithapillai8 commented 1 year ago

@Devayani0102 The changes are updated in dashboard-staging.

divyav2020 commented 1 year ago

We have updated Spin the Wheel game changes in Dashboard staging

Devayani0102 commented 1 year ago

Looks good in staging.