Abstract

BackgroundPrisoner'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. MethodsThe 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. ResultsWe 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. ConclusionsOur 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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.