A Web‑Based Multiplayer Common‑Pool Resource Game Platform-Scilight

Digital Technologies Research and Applications

Article

A Web‑Based Multiplayer Common‑Pool Resource Game Platform

Downloads

Tzimourtos, V. (2025). A Web‑Based Multiplayer Common‑Pool Resource Game Platform. Digital Technologies Research and Applications, 4(2), 80–95. https://doi.org/10.54963/dtra.v4i2.1232

Authors

  • Vasileios Tzimourtos

    Department of Economics, University of Thessaly, Volos 38333, Greece

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 Mechanisms

References

  1. 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).
  2. 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
  3. Ostrom, E. Governing the Commons: The Evolution of Institutions for Collective Action; Cambridge University Press: Cambridge, UK, 1990.
  4. 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.
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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.
  25. 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
  26. 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
  27. 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