PuckNET

Last updated 2023-06-07

PuckNET is an ice hockey game for 2 players and up. You can shoot/pass, tackle and of course do some fishing. It was made during Summer Game Jam 2021 at LiU. Compared to our usual jams, this was a two-week jam, which meant that we could focus on the polish.

PuckNET was made in our own programming language Sylt. When we were making this game we still used our own VM and bytecode as well as our own game engine, Lingon (github.com).

For this jam we wanted to make a multiplayer game, since it was a remote jam and we had some time to figure it out. And we did! The multiplayer is built around remote procedure calls, meaning that the server defines functions like

def set_input(input: entity.Input)

and each client "calls" this function on the server

n_rpc_server(game.set_input, input)
#            ^^^^^^^^^^^^^^  ^^^^^
#            |               \- this is the parameter
#            \- this is the function that is called

We could even use the same system to setup a server browser!

Presentation slide

This slide was presented for LiU Game Jam's Summer Game Jam 2021.

In short