Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Casting

Forged through Rune. Built upon PHP.

A small runite to learn how a cast is spoken, how spells shape it, and how one cast can call another. Your first step out of the void.

Explore Rune ↗


Made with Rune

This app is a runite: one file named cast, engraved from the origin runes of Rune, a lore-driven, modular concept beneath PHP.

It uses only four runes:

Rune Role in this app
Aether opens and closes the flow
Chanter registers the casts and reads the spells
Weaver fills the {{tokens}} of every message
Whisper speaks to the user and asks for input

Want to engrave your own? Start from the Rune repository.

Requirements

  • PHP 8.1+
  • Composer

Install

composer install
php cast

Registered Casts

Cast Description
fire Shoot a fire ball.
ice Shoot a blizzard.
wind Shoot a wind blast.
enchant --art --amount Cast one art many times.
respell --total Cast random arts.
with-name Ask a name, then cast for it.

Spells

Spell Cast Value Default
--art enchant fire, ice or wind — (required)
--amount enchant how many times 1
--total respell how many random arts 5

Try it

php cast fire
php cast ice
php cast wind

php cast enchant
php cast enchant --art=fire
php cast enchant --art=ice --amount=3
php cast enchant --art=wind --amount=5
php cast enchant --art=thunder

php cast respell
php cast respell --total=10

php cast with-name

php cast grimoire
php cast grimoire --rune=Chanter
php cast fire --zero-trust
php cast fir

Every runite also carries the built-in casts of Rune: rune (the main screen), grimoire, artefact and sentinel.


What you learn

Cast Lesson
fire, ice, wind a cast and its echo
enchant read spells first, then cast another cast from code
respell set a spell from code, the next cast reads it
with-name ask the user, then chain casts

Every cast is a door, open them one by one.


References

  • Rune — Application foundation and tooling.

Built to create. Designed to evolve.

DEVNEET ©

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages