alpaca-netcode: Rollback/replay NetCode for realtime, deterministic, multiplayer games.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
A rollback/replay client-server system for realtime multiplayer games. The API only requires you to express your game as a pure, deterministic function.
See Alpaca.NetCode to get started.
Advantages
Simple code. Your game logic contains no NetCode.
Low bandwidth. Only inputs are shared.
Zero latency. Player's own inputs affect their game immediatly.
UDP based. Unordered and using redundancy to mitigate packet loss.
Lightweight server. The server does not run the game logic, it only relays and tracks user inputs.
Cheating. Only inputs are shared which eliminates a whole class state manipulation cheats.
Disadvantages
Increased CPU usage. Rollback/replay means that clients must run the game step function multiple times per frame.
Not suitable for large numbers of players. Tens of players is likey reasonable.
Disclaimer
This is an initial release with minimal functionality and still very experimental. Use at your own risk.
Properties
Versions | 0.1.0.0, 0.1.0.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.9 && <4.16), bytestring, containers, flat, hashable, network (>=3.1 && <3.2), network-run, random, stm, time [details] |
License | Apache-2.0 |
Copyright | 2021 David Eichmann |
Author | David Eichmann |
Maintainer | davide@well-typed.com |
Category | Network, Game Engine |
Source repo | head: git clone https://github.com/DavidEichmann/alpaca-netcode |
Uploaded | by DavidEichmann at 2021-04-02T22:17:13Z |
Modules
[Index] [Quick Jump]
Downloads
- alpaca-netcode-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees