承接 ichiloto/console 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ichiloto/console

最新稳定版本:0.4.1

Composer 安装命令:

composer require ichiloto/console

包简介

A simple CLI tool for managing games made using the Ichiloto Game Engine.

README 文档

README

Ichiloto Logo

Ichiloto Console

The official command-line toolkit for the Ichiloto Engine.

This package powers the ichiloto executable: it forges new projects, opens the editor, launches games, and carries a few early scaffolding utilities for day-to-day engine work. The command surface is intentionally small and geared toward the core Ichiloto workflow:

  1. Install the CLI
  2. Create a project
  3. Open the editor
  4. Play and test

Stack

  • PHP ^8.4
  • Symfony Console
  • Laravel Prompts
  • League CLImate
  • amasiye/figlet for title art and terminal wordmarks
  • ichiloto/editor as a local Composer dependency during source development

Commands

The CLI currently ships these commands:

  • ichiloto new for guided project creation with a quest-like interactive flow
  • ichiloto edit for opening an Ichiloto project in the terminal editor
  • ichiloto play for running a project's main entrypoint
  • ichiloto generate:figlet for forging terminal title art, menu banners, and wordmarks
  • ichiloto generate:map for lightweight map scaffolding
  • ichiloto generate:actor for lightweight actor scaffolding
  • ichiloto battle as an early development command placeholder

Getting Started

Install the CLI globally:

composer global require ichiloto/console

Create a new project:

ichiloto new my-rpg

Open the editor:

cd my-rpg
ichiloto edit

Play the project:

ichiloto play

Project Scaffolding

ichiloto new creates a valid Ichiloto project structure, including:

  • ichiloto.json
  • composer.json
  • a main PHP entrypoint
  • assets/Data starter files
  • a starter actor
  • a starter map
  • save and log directories

Useful options:

ichiloto new my-rpg --hero "Arin"
ichiloto new my-rpg --battle-engine active_time
ichiloto new my-rpg --title-font slant
ichiloto new my-rpg --install
ichiloto new my-rpg --no-install
ichiloto new my-rpg --directory /path/to/projects/my-rpg

Every new project also gets a generated assets/Graphics/System/title.txt, so the title scene starts with a real banner instead of a blank placeholder.

FIGlet Generation

Use ichiloto generate:figlet whenever you want to reforge title art or create new terminal banners by hand:

ichiloto generate:figlet "Moonfall Legend"
ichiloto generate:figlet "Moonfall Legend" --style epic
ichiloto generate:figlet "Moonfall Legend" --font slant --output assets/Graphics/System/title.txt
ichiloto generate:figlet --list-fonts

The curated --style options are tuned for Ichiloto's house look, while --font gives you direct access to the installed FIGlet fonts when you want exact control.

Runtime Notes

  • ichiloto edit and ichiloto play expect to be run inside a valid Ichiloto project directory containing ichiloto.json.
  • Both commands prefer tmux when it is available and the session is interactive, then fall back to direct launch when it is not.
  • ichiloto battle is not a full battle runner yet; it is still a placeholder command.

Architecture

The executable entrypoint lives in bin/ichiloto.

Key source areas:

  • src/Commands contains the Symfony Console commands
  • src/Support/NewProjectScaffolder.php builds fresh project skeletons
  • src/AppConfig.php reads ichiloto.json
  • src/Util contains working-directory and path helpers

Local Development

If you are working from source, the current setup expects sibling checkouts:

ichiloto/
  engine/
  editor/
  console/

Install dependencies from the console repo:

composer install

Notes for source development:

  • composer.json currently resolves ichiloto/editor through a local path repository at ../editor
  • the edit command also benefits from a sibling ../engine checkout so editor previews can resolve engine classes cleanly
  • FIGlet-backed commands are powered directly by the amasiye/figlet package that is now part of this repo's Composer dependencies
  • running ./bin/ichiloto list is the fastest smoke test after dependency changes

Project Links

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固