teng ๐
A minimal, cross-platform game engine for the terminal in Rust
Features
- Fast rendering by only printing changed pixels to the terminal
- Built-in FPS limiter
- Battery-included components for common tasks (e.g. input handling, FPS display, mouse interpolation, half block rendering)
Getting Started
teng uses components as the building blocks. Every frame, each component (optionally):
- Handles received events (mouse, keyboard, resizes, etc.)
- Updates the game state
- Renders its core concept (if any) to the screen
Here's a simple example that renders static content to the screen:
use io;
use ;
;
This results in the following:

Is teng an ECS?
Not really. teng's "Components" are quite similar to "Systems" in an ECS, but there is no built-in notion of entities or components in the ECS sense.
However, you can build an ECS inside teng quite easily, see examples/ecs for an example.