{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T11:11:44Z","timestamp":1790766704544,"version":"4.1.0"},"reference-count":8,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T00:00:00Z","timestamp":1503964800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2017,8,29]]},"abstract":"<jats:p>Implementing multi-player networked games by broadcasting the player\u2019s input and letting each client calculate the game state -- a scheme known as *lock-step simulation* \u2013 is an established technique. However, ensuring that every client in this scheme obtains a consistent state is infamously hard and in general requires great discipline from the game programmer. The thesis of this pearl is that in the realm of functional programming \u2013 in particular with Haskell's purity and static pointers \u2013 this hard problem becomes almost trivially easy.<\/jats:p>\n          <jats:p>We support this thesis by implementing lock-step simulation under very adverse conditions. We extended the educational programming environment CodeWorld, which is used to teach math and programming to middle school students, with the ability to create and run interactive, networked multi-user games. Despite providing a very abstract and high-level interface, and without requiring any discipline from the programmer, we can provide consistent lock-step simulation with client prediction.<\/jats:p>","DOI":"10.1145\/3110247","type":"journal-article","created":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T18:19:41Z","timestamp":1504030781000},"page":"1-15","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["Lock-step simulation is child's play (experience report)"],"prefix":"10.1145","volume":"1","author":[{"given":"Joachim","family":"Breitner","sequence":"first","affiliation":[{"name":"University of Pennsylvania, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chris","family":"Smith","sequence":"additional","affiliation":[{"name":"Google, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,8,29]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"ECMA International. 2015. ECMAScript Language Specification (6th ed.). Geneva. http:\/\/www.ecma-international.org\/ ecma-262\/6.0\/ECMA-262.pdf  ECMA International. 2015. ECMAScript Language Specification (6th ed.). Geneva. http:\/\/www.ecma-international.org\/ ecma-262\/6.0\/ECMA-262.pdf"},{"key":"e_1_2_2_2_1","unstructured":"Elijah Emerson. 2009. How to make Box2D more deterministic? (2009). http:\/\/www.box2d.org\/forum\/viewtopic.php?t= 1800&amp;start=10#p16662  Elijah Emerson. 2009. How to make Box2D more deterministic? (2009). http:\/\/www.box2d.org\/forum\/viewtopic.php?t= 1800&amp;start=10#p16662"},{"key":"e_1_2_2_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2034675.2034690"},{"key":"e_1_2_2_4_1","unstructured":"Ben Lippmeier. 2017. gloss. http:\/\/gloss.ouroborus.net\/ . (2017).  Ben Lippmeier. 2017. gloss. http:\/\/gloss.ouroborus.net\/ . (2017)."},{"key":"e_1_2_2_5_1","unstructured":"Simon Marlow (Ed.). 2010. Haskell 2010 Language Report.  Simon Marlow (Ed.). 2010. Haskell 2010 Language Report."},{"key":"e_1_2_2_6_1","unstructured":"Forrest Smith. 2011. Synchronous RTS Engines and a Tale of Desyncs. (2011). https:\/\/blog.forrestthewoods.com\/ synchronous-rts-engines-and-a-tale-of-desyncs-9d8c3e48b2be  Forrest Smith. 2011. Synchronous RTS Engines and a Tale of Desyncs. (2011). https:\/\/blog.forrestthewoods.com\/ synchronous-rts-engines-and-a-tale-of-desyncs-9d8c3e48b2be"},{"key":"e_1_2_2_7_1","unstructured":"Luite Stegeman and Hamish Mackenzie. 2017. GHCJS. https:\/\/github.com\/ghcjs\/ghcjs . (2017).  Luite Stegeman and Hamish Mackenzie. 2017. GHCJS. https:\/\/github.com\/ghcjs\/ghcjs . (2017)."},{"key":"e_1_2_2_8_1","volume-title":"Proceedings of the 15th Games Developers Conference. http:\/\/www.gamasutra.com\/view\/feature\/3094\/1500_archers_on_a_ 288_network_.php","author":"Terrano Mark","year":"2001"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110247","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3110247","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T03:30:10Z","timestamp":1750217410000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110247"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,8,29]]},"references-count":8,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2017,8,29]]}},"alternative-id":["10.1145\/3110247"],"URL":"https:\/\/doi.org\/10.1145\/3110247","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,8,29]]},"assertion":[{"value":"2017-08-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}