Download the PHP package sendamaphp/engine without Composer
On this page you can find all versions of the php package sendamaphp/engine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sendamaphp/engine
More information about sendamaphp/engine
Files in sendamaphp/engine
Package engine
Short Description A simple game engine for making terminal/console games. Lovingly written in pure PHP.
License MIT
Informations about the package engine
Sendama — A 2D Game Engine for Terminal Based Games
What is it?
Sendama is a 2D game engine for creating terminal based games. It is designed to be simple and easy to use, while providing the necessary tools to create fun and engaging games. The engine is built using PHP and is designed to be cross-platform, so you can create games that run on Windows, Linux, and macOS. Rather than using complex graphics libraries, Sendama uses simple ASCII characters to create game worlds, making it easy to create games that are both fun and visually appealing. By leveraging the power of ANSI escape codes, Sendama allows you to create games that are interactive and engaging, with support for keyboard input, animations, and more.
But why PHP?
Why not? PHP is a popular programming language that is widely used for web development, but it is also a powerful language in its own right. With the release of PHP 8, PHP has become even more powerful, with new features and improvements that make it a great choice for game development. By using PHP, you can take advantage of the language's simplicity and ease of use, while still being able to create games that are fun and engaging. And because PHP is cross-platform, you can create games that run on Windows, Linux, and macOS, without having to worry about compatibility issues.
Requirements
- PHP 8.3 or newer
- WSL (For Windows)
- Composer 2.7.1 or later
Installation
Using the Sendama CLI
The recommended way to install Sendama is through the CLI. You can install Sendama by running the following commands:
For more information and setup see Sendama CLI.
Create a new game
Once the CLI is installed, you can start a new game by running the following command:
This will create a new game in the current directory. You can get started by changing into the game directory and running the game:
Using Composer
For Linux, BSD etc
For Windows
From the WSL terminal follow Linux instructions
OSX
Usage
See Documentation.
Notes
The examples in [examples]() are made to demonstrate how Sendama may be used to make simple 2D games.
All versions of engine with dependencies
assegaiphp/collections Version ^0.3.2
amasiye/figlet Version ^1.2
vlucas/phpdotenv Version ^5.6
league/climate Version ^3.8
ext-pcntl Version *