#ddnet #game

twgame-core

Game trait, helper types and helper functions for twgame

8 breaking releases

0.9.0 Apr 25, 2026
0.8.0 Jun 24, 2025
0.7.1 Dec 1, 2024
0.7.0 Nov 26, 2024
0.1.0 May 19, 2024

#21 in #ddnet


Used in 7 crates (2 directly)

AGPL-3.0-only

76KB
2K SLoC

TwGame

This repository contains multiple DDNet related libraries and tools. It is based on libtw2, twmap and twsnap.

Components

Future plans

  • Allow using DDNet C++ physics via Rust bindings
  • Python binding to work with teehistorian files
  • Demo reader allowing conversion to teehistorian
  • Make a server wrapper around the game implementation using libtw2 network library (tickle)
  • Allow rendering teehistorian files with twgpu without intermediate demo step

MSRV-Policy

  • MSRV can be bumped up to the latest version available on debian: trixie
  • Current MSRV: 1.93

Dependencies

~9.5MB
~178K SLoC