Simple statistical game written in Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Build Status ISTGame

A simple game based on the IST cognitive test (Information Sampling Task), which is a test for impulsivity and decision making. In the traditional test a 5x5 array of grey boxes is presented on screen, and the subject clicks each box to reveal one of two colours hidden under the box. The amount of score possible is decreased for each box that is opened, and at any point the subject may guess the colour and receive the points if correct, or loose points if incorrect.

The game allows two players (including computer opponent) to take turns playing, and in each turn the user may either open a box to reveal a colour or guess which color is dominant on the board.

The game is written in Java and uses a simple genetic algorithm to evolve computer opponents.

Alt text


Clark, L., Robbins, T. W., Ersche, K. D., & Sahakian, B. J. (2006). Reflection impulsivity in current and former substance users. Biological psychiatry, 60(5), 515-522.

DeVito, E. E., Blackwell, A. D., Clark, L., Kent, L., Dezsery, A. M., Turner, D. C., ... & Sahakian, B. J. (2009). Methylphenidate improves response inhibition but not reflection–impulsivity in children with attention deficit hyperactivity disorder (ADHD). Psychopharmacology, 202(1-3), 531-539.

Neuroscience of Impulsivity & Addictive Disorders -


Font used: Pet Me 2Y, by Kreative Korporation