tigen — Tiny Game Engine: a lightweight ECS-based simulation engine
Project description
tigen — Tiny Game Engine
A lightweight ECS (Entity Component System) based simulation engine.
Features
- ECS Core — Entity-Component-System architecture with generational IDs and efficient queries
- AI Module — Brain/context/memory abstractions for agent behavior
- Common Utilities — Math helpers, logging, data structures (generational containers, running stats)
- Configurable — Runtime configuration for simulation parameters
Installation
pip install tigen
Quick Start
from tigen.ecs.core import ECS
from tigen.ecs.component import Component
from tigen.ecs.system import System
# Define components
class Position(Component):
def __init__(self, x: float, y: float):
self.x = x
self.y = y
# Create ECS and entities
ecs = ECS()
ecs.create_entity("player", [Position(0, 0)])
License
MIT — see root LICENSE file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tigen-0.5.2.tar.gz
(32.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tigen-0.5.2-py3-none-any.whl
(32.5 kB
view details)
File details
Details for the file tigen-0.5.2.tar.gz.
File metadata
- Download URL: tigen-0.5.2.tar.gz
- Upload date:
- Size: 32.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74db577a12b5d5a6d84b5ccb5f441d61d8ffb9567175f20e335a05c7ddc40d8f
|
|
| MD5 |
b159e14b60d8408e74f9130f607d57ee
|
|
| BLAKE2b-256 |
725ebf5551b23b54e62ef0d84416fe1db867df007fd3cac3d02c83b109d5aa99
|
File details
Details for the file tigen-0.5.2-py3-none-any.whl.
File metadata
- Download URL: tigen-0.5.2-py3-none-any.whl
- Upload date:
- Size: 32.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5701788fb6a6622dbbbc7a5e83f518b05fe2ca5586c4adbfcc98d92912464bd5
|
|
| MD5 |
f556bf928c85fb4f255faaa5b94b0862
|
|
| BLAKE2b-256 |
59229a36ac496c1a48df7eaee992e38516c9a02a376f371283f76d3da29a1461
|