Welcome to Sendama — a lightweight, lovingly-crafted 2D game engine written in PHP. Sendama makes it easy to build terminal-based 2D games and interactive experiences using familiar PHP tooling.
Sendama is a 2D game engine designed for PHP developers who want to create games and interactive CLI applications. It provides a clean, component-based architecture along with a dedicated command-line tool, making it straightforward to scaffold, develop, and run your own games.
| Repository | Description |
|---|---|
| engine | The core Sendama 2D game engine library. |
| console | The Sendama CLI — create, build, run, and manage Sendama projects from the command line. |
| example-game-break-out | A remake of the classic arcade game, Breakout. |
| example-game-hangman | A recreation of the BSD terminal version of the popular Hangman game. |
| example-game-the-collector | A simple arcade game where players collect as many falling collectables as possible. |
- Install the Sendama CLI by following the instructions in the console repository.
- Create a new project using the CLI scaffolding tools.
- Explore the example games to see how games are structured and learn by example.
Looking for inspiration or a starting point? Check out the example games included in this organization:
- Breakout — a classic brick-breaking game.
- Hangman — the timeless word-guessing game in your terminal.
- The Collector — catch as many collectables as you can before they hit the ground.
We welcome contributions! Please refer to the individual repository's contributing guidelines for details on how to get involved.