Psychex
Psychex is a JavaScript library for building games for online experiments in psychology and the cognitive sciences. It was built by A. Grogan in the Department of Experimental Psychology at the University of Oxford.
The main goal of Psychex is to make it easy to build gameified experiments, and comes with a range of tools for collecting data.
Psychex is completely free and open-source. It’s designed to be customised and extended, and open-source contributions are entirely welcomed and appreciated.
- Getting Started
- Key Concepts in Psychex
- Handling Static Content
- Primitives
- Composite Classes
- Meta-Classes, Utilities, and Support Classes
- Document Object Model (DOM)
- Styles and Aesthetics
- Handling User Interactions
- Animations
- Tutorial: N-Arm Bandit Task
- Tutorial: Ho, M. et al. (2022)
- FAQ
- JavaScript - Important Concepts
- Deploying to the Internet
- Contributing to Psychex
How to Use These Docs
These docs contain most (if not all) of the information necessary for using Psychex. You can approach them by either reading through how the classes are built and used, but we suggest learning by following through tutorials. In particular, a good learning route might be:
Read the Getting Started and Key Concepts pages
Follow the n-arm bandit tutorial
Look through the styles and aesthetics docs, and follow through the examples
Go through the example where we recreate an experiment by Ho, M. (2022)
Build your own experiment!