Article
A Web‑Based Multiplayer Common‑Pool Resource Game Platform


This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright
The authors shall retain the copyright of their work but allow the Publisher to publish, copy, distribute, and convey the work.
License
Digital Technologies Research and Applications (DTRA) publishes accepted manuscripts under Creative Commons Attribution 4.0 International (CC BY 4.0). Authors who submit their papers for publication by DTRA agree to have the CC BY 4.0 license applied to their work, and that anyone is allowed to reuse the article or part of it free of charge for any purpose, including commercial use. As long as the author and original source are properly cited, anyone may copy, redistribute, reuse, and transform the content.
Received: 15 May 2025; Revised: 6 July 2025; Accepted: 8 July 2025; Published: 22 July 2025
The paper introduces a web‑based platform for conducting multiplayer common‑pool resource (CPR) games, replicating the experimental framework of Ahn et al. Built using technologies such as PHP, MySQL, HTML5, and JavaScript the platform facilitates remote and synchronous gameplay in structured groups with configurable settings. Players extract tokens from a shared resource over multiple rounds, with payoffs determined by token‑order pricing and optional costly punishment stages. The system supports dynamic group formation, randomized player order, and round‑based synchronization to ensure fairness. It includes real‑time coordination via AJAX polling; a responsive Bootstrap interface; administrative controls, and live monitoring through Grafana dashboards. Data integrity is maintained using server‑side validation, prepared S.Q.L. statements, and transactional database updates, with all actions logged in a normalized relational schema. The platform addresses technical challenges such as session timeouts, synchronization delays, and dropouts using heartbeat callbacks, waiting screens, and robust state checks. Designed for extensibility, it can support different game‑theoretic designs and is suitable for both lab and remote experiments. Future enhancements include WebSocket‑based real‑time communication and Docker‑based deployment for reproducibility. By offering a customizable, secure, and scalable CPR experiment environment with real‑time feedback and comprehensive logging, this platform serves as a valuable tool for advancing research in experimental economics, particularly in cooperation, punishment mechanism, and resource governance. The platform demonstrates reliable performance with low‑latency synchronization and minimal dropout‑related issues. Compared to tools like oTree and LIONESS Lab, it offers a more lightweight and modular alternative optimized for small‑scale deployment, remote teaching, and rapid experimental design.
Keywords:
Common‑Pool Resource Experimental Economics Web‑Based Game Multiplayer Coordination Session Management Penalty MechanismsReferences
- Stephen, M.; Rosie, W.; Christian, S. 15.2: Common Pool Resource Theory. In International Relations. Social Science LibreTexts: Davis, CA, USA, 2021. Available online: https://socialsci.libretexts.org/Bookshelves/Sociology/International_Sociology/Book%3A_International_Relations_(McGlinchey)/15%3A_The_Environment/15.02%3A_Common_Pool_Resource_Theory (accessed on 1 May 2025).
- Hardin, G. The tragedy of the commons: the population problem has no technical solution; it requires a fundamental extension in morality. Science 1968, 162, 1243–1248. DOI: https://doi.org/10.1126/science.162.3859.1243
- Ostrom, E. Governing the Commons: The Evolution of Institutions for Collective Action; Cambridge University Press: Cambridge, UK, 1990.
- Poteete, A.R.; Janssen, M.A.; Ostrom, E. Working Together: Collective Action, the Commons and Multiple Methods in Practice; Princeton University Press: Princeton, NJ, USA, 2010.
- Arvanitidis, P.; Nasioka, F. From Commons Dilemmas to Social Solutions: A Common Pool Resource Experiment in Greece. In Institutionalist Perspectives on Development; Vliamos, S., Zouboulakis, M., Eds.; Palgrave Macmillan: Cham, Switzerland, 2018; pp. 125–142. DOI: https://doi.org/10.1007/978-3-319-98494-0_8
- Ahn, T.K.; Ostrom, E.; Walker, J. A common-pool resource experiment with postgraduate subjects from 41 countries. Ecol. Econ. 2010, 69, 2624–2633. DOI: https://doi.org/10.1016/j.ecolecon.2010.08.007
- Fehr, E.; Gächter, S. Cooperation and punishment in public goods experiments. Am. Econ. Rev. 2000, 90, 980–994. DOI: https://doi.org/10.1257/aer.90.4.980
- Cárdenas, J.C.; Ostrom, E. What do people bring into the game? Experiments in the field about cooperation in the commons. Agric. Syst. 2004, 82, 307–326. DOI: https://doi.org/10.1016/j.agsy.2004.07.008
- Salganik, M.J.; Watts, D.J. Web-based experiments for the study of collective social dynamics in cultural markets. Top. Cogn. Sci. 2009, 1(3), 439–468. DOI: https://doi.org/10.1111/j.1756-8765.2009.01030.x
- Chen, D.L.; Schonger, M.; Wickens, C. oTree—An open-source platform for laboratory, online, and field experiments. J. Behav. Exp. Finance 2016, 9, 88–97. DOI: https://doi.org/10.1016/j.jbef.2015.12.001
- Chan, S.W.; Schilizzi, S.; Iftekhar, M.S.; et al. Web-based experimental economics software: How do they compare to desirable features? J. Behav. Exp. Finance 2019, 23, 138–160. DOI: https://doi.org/10.1016/j.jbef.2019.04.007
- Brandt, D.J.; Megiddo, I.; Head, J.W.; et al. OGUMI—An Android-based open-source mobile application to conduct common-pool resource experiments. PLoS One 2017, 12, e0178951. DOI: https://doi.org/10.1371/journal.pone.0178951
- Rezaei Zeynali, F.; Parvin, M.; ForouzeshNejad, A. A.; et al. A heuristic-based multi-stage machine learning-based model to design a sustainable, resilient, and agile reverse corn supply chain by considering third-party recycling. Appl Soft Comput. 2025, 174, 113042. DOI: https://doi.org/10.1016/j.asoc.2025.113042
- Tajally, A.; Babakhani, B.; Jeyzanibrahimzade, E.; et al. Sustainable supplier selection and order allocation problem considering the agility and resilience dimensions: A novel multi-stage data-driven decision-making approach. Int. J. Syst. Sci. Oper. Logist. 2025, 12, 2458756. DOI: https://doi.org/10.1080/23302674.2025.2458756
- Pazouki, S.; Jamshidi, M.; Jalali, M.; et al. Artificial intelligence and digital technologies in finance: a comprehensive review. J. Econ. Finance Account. Stud. 2025, 7, 54–69. DOI: https://doi.org/10.32996/jefas.2025.7.2.5
- Boettiger, C. An introduction to Docker for reproducible research. ACM Oper. Syst. Rev. 2015, 49, 71–79. DOI: https://doi.org/10.1145/2723872.2723882
- Gürerk, Ö.; Irlenbusch, B.; Rockenbach, B. The competitive advantage of sanctioning institutions. Science 2006, 312, 108–111. DOI: https://doi.org/10.1126/science.1123633
- Yamagishi, T. The provision of a sanctioning system as a public good. J. Pers. Soc. Psychol. 1986, 51, 110–116. DOI: https://doi.org/10.1037/0022-3514.51.1.110
- Liu, Q.; Sun, X. Research of Web Real-Time Communication Based on WebSocket. Int. J. Commun. Netw. Syst. Sci. 2012, 5, 797–801. DOI: https://doi.org/10.4236/ijcns.2012.512083
- Wilkinson, M.D.; Dumontier, M.; Aalbersberg, I.J.; et al. The FAIR Guiding Principles for scientific data management and stewardship. Sci. Data 2016, 3, 160018. DOI: https://doi.org/10.1038/sdata.2016.18
- Fischbacher, U.; Gächter, S. Social preferences, beliefs, and the dynamics of free riding in public goods experiments. Am. Econ. Rev. 2010, 100, 541–556. DOI: https://doi.org/10.1257/aer.100.1.541
- Gächter, S.; Renner, E.; Sefton, M. The long-run benefits of punishment. Science 2008, 322, 1510. DOI: https://doi.org/10.1126/science.1164744
- Giamattei, M.; Yahosseini, K.S.; Gächter, S.; et al. LIONESS Lab: a free web-based platform for conducting interactive experiments online. J. Econ. Sci. Assoc. 2020, 6, 95–111. DOI: https://doi.org/10.1007/s40881-020-00087-0
- Isaksen, E.T.; Brekke, K.A.; Richter, A. Positive framing does not solve the tragedy of the commons. J. Environ. Econ. Manage. 2019, 95, 45–56.
- Horton, J.J.; Rand, D.G.; Zeckhauser, R.J. The online laboratory: Conducting experiments in a real labor market. Exp. Econ. 2011, 14, 399–425. DOI: https://doi.org/10.1007/s10683-011-9273-9
- Sandholm, T.; Crites, R. Multiagent reinforcement learning in the iterated prisoner's dilemma. Biosystems 1996, 37, 147–166. DOI: https://doi.org/10.1016/0303-2647(95)01551-5
- Tu, C.; D'Odorico, P.; Li, Z.; et al. The emergence of cooperation from shared goals in the governance of common-pool resources. Nat. Sustain. 2023, 6, 139–147. DOI: https://doi.org/10.1038/s41893-022-01008-1

Download
