Lock-step simulation is child's play

05/26/2017
by   Joachim Breitner, et al.
0

Implementing multi-player networked games by broadcasting the player's input and letting each client calculate the game state - a scheme known as lock-step simulation - 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 report is that in the realm of functional programming - in particular with Haskell's purity and static pointers - this hard problem becomes almost trivially easy. 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

READ FULL TEXT

page 3

page 4

page 5

page 11

page 13

page 16

research
10/21/2021

Player Dominance Adjustment in Games

Video Games are boring when they are too easy, and frustrating when they...
research
04/03/2020

Generative Forensics: Procedural Generation and Information Games

Procedural generation is used across game design to achieve a wide varie...
research
03/18/2021

Canonical Representations for Direct Generation of Strategies in High-level Petri Games (Full Version)

Petri games are a multi-player game model for the synthesis problem in d...
research
10/03/2021

Towards General Models of Player Experience: A Study Within Genres

To which degree can abstract gameplay metrics capture the player experie...
research
08/15/2019

Tracing Player Knowledge in a Parallel Programming Educational Game

This paper focuses on "tracing player knowledge" in educational games. S...
research
04/11/2019

High-Level Representation of Benchmark Families for Petri Games

Petri games have been introduced as a multi-player game model representi...

Please sign up or login with your details

Forgot password? Click here to reset