Giter Club home page Giter Club logo

visual-working-memory-game's Introduction

Visual working memory game

If you find this repo helpful, please consider giving it a โญ to show your support.

Demo

task_video_edited.mp4

Installation

  1. Clone the repository by running
git clone https://github.com/masoudrahimi39/visual-working-memory-game.git
  1. Install dependencies: python='3.8', pygame='2.1.2', Pandas, NumPy, Matplotlib by running below:
    pip install pygame='2.1.2', Pandas, NumPy, Matplotlib
  2. Run main_game.py

Usage

This project serves multiple purposes:

  1. Entertainment: Play the game for fun and test your visual working memory abilities.
  2. Gameplay and Eye Tracker Data Collection: The game collects and saves the player's gameplay data, along with eye tracker data when enabled, providing valuable insights for research and analysis.

Features

  • Adjustable Parameters: All Python functions and classes have clear and concise docstrings, making it easy to modify and extend the game's functionalities.
    • Rule-Based Difficulty Adjustment: The game incorporates a rule-based difficulty adjustment system, ensuring that players are appropriately challenged as they progress through the tasks.
  • Data Storage: The player's gameplay data is saved in CSV and plk (Pandas DataFrames) files, facilitating data analysis and post-game insights.
  • Structured User Journey: The task follows a well-structured user journey, guiding players through different pages, including "Welcome," "Sign Up," "Guiding," "Guiding trials," and "Actual Trials."

About the memory game?

  • At the beginning, a 6*6 hexagonal grid is displayed for two seconds, with certain hexagons simultaneously highlighted in yellow (known as "targets") while the rest are white.
  • After two seconds, all the hexagons become white, and the player must recall and click on the exact locations of the targets.
  • Correct and incorrect clicks instantly become green and red, respectively.
  • The player's score is the number of correct clicks divided by the total number of targets in the task.
  • A score 1 represents a win, whereas other scores represent a loss.

visual-working-memory-game's People

Contributors

masoudrahimi39 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.