JSPM

@beatdiaz/2d-grid-engine

1.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 10
    • Score
      100M100P100Q42000F
    • License MIT

    A general-purpose 2D grid management engine

    Package Exports

    • @beatdiaz/2d-grid-engine
    • @beatdiaz/2d-grid-engine/src/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@beatdiaz/2d-grid-engine) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    2D Grid Engine

    A lightweight, display-agnostic engine for managing 2D grid-based systems. Perfect for roguelikes, strategy games, or complex grid visualizations in React, Canvas, or the Console.

    Key Principles

    • Layer-Based: Separate terrain, entities, and effects into independent layers.
    • ECS Driven: Manage data through an Entity-Component System for maximum flexibility.
    • Agnostic: Use any rendering method (React, DOM, Canvas, or Terminal).
    • Generic: Store any data types, from simple characters to complex objects.

    Installation

    npm install @beatdiaz/2d-grid-engine