Download the PHP package masyasmv/otus-macro-commands without Composer
On this page you can find all versions of the php package masyasmv/otus-macro-commands. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download masyasmv/otus-macro-commands
More information about masyasmv/otus-macro-commands
Files in masyasmv/otus-macro-commands
Download masyasmv/otus-macro-commands
More information about masyasmv/otus-macro-commands
Files in masyasmv/otus-macro-commands
Vendor masyasmv
Package otus-macro-commands
Short Description Macro commands implementation for Otus course
License MIT
Package otus-macro-commands
Short Description Macro commands implementation for Otus course
License MIT
Please rate this library. Is it a good library?
Informations about the package otus-macro-commands
Otus Macro Commands 🚀
Учебный мини-фреймворк для шаблона Command с поддержкой:
- MoveCommand / RotateCommand — базовые действия (переместить, повернуть).
- CheckFuelCommand / BurnFuelCommand — расход топлива с проверкой остатка.
- MacroCommand — цепочка команд c атомарным выполнением (останавливается и прокидывает
CommandExceptionпри ошибке). - ChangeVelocityCommand — пересчёт вектора мгновенной скорости после поворота.
Пример макрокоманд в игре «Космическая битва»:
📦 Установка
🚀 Быстрый старт
🗂️ Структура
🧪 Тесты
🔧 CI
В проекте лежит настроенный workflow .github/workflows/ci.yml — он устанавливает PHP 8.3, тянет зависимости и запускает «composer test».
📜 Лицензия
Код распространяется под лицензией MIT — см. LICENSE.
All versions of otus-macro-commands with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
The package masyasmv/otus-macro-commands contains the following files
Loading the files please wait ...