Mantas V, Pehlivanidis A, Papanikolaou K, Papageorgiou C. mPD: Introduction of a single player prisoner's dilemma application for medical experiments.
COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE 2022;
217:106695. [PMID:
35228145 DOI:
10.1016/j.cmpb.2022.106695]
[Citation(s) in RCA: 1] [Impact Index Per Article: 0.5] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 03/30/2021] [Accepted: 02/07/2022] [Indexed: 06/14/2023]
Abstract
BACKGROUND
Prisoner's dilemma is one of the most popular concepts among scientific literature. In medical literature the majority of prisoner's dilemma experiments with human participants implement computerized means. Despite this, there is no shared validated tool for prisoner's dilemma tasks.
METHODS
The application is developed in Javascript programming language and makes use of the pixijs library for WebGL rendering. To create a custom trial, a set of variables have to be set. These refer to the linguistics, user controls, available choices, computer strategy, interaction flow (simultaneous or sequential), opponent's choice prediction requirement, noise induction, human opponent behavior simulation, the way resulted data will be handled and more. Results are in JSON format and include time interval data.
RESULTS
We have developed an application which, given the various parameters experimenter can modify, is able to simulate a large number of single player prisoner's dilemma versions. It is open source with no installation requirement, executable by any modern internet browser remotely or locally with the ability to post data results either locally or remotely. Experimenter only has to modify certain starting values in order to create his design of choice. Two examples are included, with initial settings and results, to demonstrate the use and validity of the application.
CONCLUSIONS
Our aim is to assist future researchers in their methodological designs. In this scope, our application, has the minimum requirements, can be served either locally or remotely, has a wide range of modifiable parameters and takes care of the resulted data. In the long term, a shared and validated tool would contribute to increasing methodologies' credibility and mitigating cross-validation discrepancies.
Collapse