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.4.0.tar.gz (32.3 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.4.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tigen-0.4.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for tigen-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6cbb1ff948b202b5daf600386604be73b20b04e0603a63d04daf7f1fa7c436f4
MD5 e2c0854e928443dd55a6beda941da2b7
BLAKE2b-256 c7cdfc286b281ef0dc79b6eb64bf83706085a4a9cefde2b8631dcb9fcdcf9d6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tigen-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for tigen-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8493764f048876dcde2f8e2782839ad015975d1bc6dab3022a4209da36800cab
MD5 5102a7bedbc2f19b0c503d5b738b9595
BLAKE2b-256 6b2443f003c181dbb843ca1f4c3be0ae738149b4c3e6f78d307f58faee8c46a6

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