Skip to content

Feature — Web-based interface (play vs engine) #16

Description

@Codex-Crusader

Summary

Build a simple web app (Flask/FastAPI + small JS frontend) where users can play against the engine via browser.

Motivation

A web interface removes local setup friction and makes demos shareable.

Acceptance criteria / Definition of Done

  • Minimal web app that:
    • Shows a board (e.g., using chessboard.js or similar).
    • Lets the user make moves and fetches engine reply from a backend endpoint.
    • Can run locally with a single command (documentation included).
  • Security: keep it local by default and document safe deployment considerations.

Implementation notes

  • Use FastAPI for ease of async endpoints or Flask for minimal dependencies.
  • Serve a static HTML/JS board and call backend endpoints for moves.
  • Keep the engine process separate (HTTP call to running engine or spawn a subprocess).

Complexity

Medium–High - front-end + back-end integration work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions