Skip to main content

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.3.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tigen-0.3.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file tigen-0.3.0.tar.gz.

File metadata

  • Download URL: tigen-0.3.0.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for tigen-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8ef6dcad1a4d68f25a9c91805e9a1a70ae83a8afce3c930923e102560521f30a
MD5 c9b367e27141b7af1baf537c515966c2
BLAKE2b-256 11e6a2385daaf1e608bd2055f8249fc6ba1274c74e05b7323d58e0b5374dfbce

See more details on using hashes here.

File details

Details for the file tigen-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: tigen-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for tigen-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18cca2ea12fac6486c9b7e8f4bc57dac8c344ed4f827530022fdc7a27245bab4
MD5 642780e6bf57116a5d10c715007597e5
BLAKE2b-256 cf3a5443576421d638a617c563b5ebd7b075587720d3512c8327699d09a0d56d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page