AML VIEW + DATA + ENGINE

Tutor Chess

A chess mentor that analyzes every move, explains its decisions, and remembers the user’s lessons.

What this demo validates

Navigation without reloads, reactive state, themes, a chess engine, AI analysis, MongoDB authentication, and persistent history.

Stack

01AML View02PHPAML Data03AML Engine04MongoDB05DeepSeek06Stockfish 18
ENGINECoachPage.php
phpaml — zsh
#[Effect(
    dependencies: ['query'],
    debounce: 300,
    concurrency: 'latest'
)]
protected function search(): EffectPlan
{
    return Effects::run(
        ClientAction::set('loading', true)
    );
}

Button('Account')->onClick(
    Navigate('/account')
);