Skip to content

emberlzhang/task_rose-garden_two-step

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rose Garden Game

Rose Garden Game (Two Stage Task)

A React.JS game developed for the Center for Computational Psychiatry at Mount Sinai.

The game is a variation of the two-stage behavioral task paradigm without explicit external rewards, developed for both local and online deployment.

Play Game

Game Mechanics

Based on the "two-stage" task paradigm in cognitive behavioral research, players make sequential choices to grow roses in a garden. The game measures task perseverance through players' color preferences over time.

The game features probabilistic mapping between choices and outcomes:

  • Stage 1: Store selection influences available gardeners (e.g. 80-20 probability split)
  • Stage 2: Gardener selection affects rose color (e.g. 80-20 probability or red/yellow roses)

Note: Probability split in each stage can be reconfigured to fit experiment needs.

Players interact with:

  • 2 gardening stores
  • 2 pairs of gardeners

Game Play

Players make two consecutive choices each round:

  1. Select a gardening store

Rose Garden Game

  1. Choose a gardener

Rose Garden Game

These choices result in planting either a red or yellow rose in the garden.

Data Collection

Data points include the following:

  • gameStartTime
  • timestamp
  • stage
  • subjectId
  • trial
  • timeFromStart
  • timeFromStage1Start
  • userChoice
  • selectedStore
  • gardenerPair
  • timeFromStage2Start
  • selectedGardener
  • gardenerProbabilities_red
  • gardenerProbabilities_yellow
  • roseColor
  • rosePosition_x
  • rosePosition_y

Data is saved locally to CSV, either at the end of the game or upon user exiting the game.

More Information

Author: Ember Zhang, [email protected]

Principal Investigator: Dr. Vincenzo Fiore, [email protected]

About

Modified Two-Step Task (Intrinsic reward focused)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published