bremade / chess

Simple chess game implemented with svelte and plain java script.

Home Page:https://bremauer.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chess

This is a fun project to play around with Svelte and then implement my own chess engine.

Implemented using Svelte, Rollup and plain JavaScript

Setup

Development

Install all dependencies

npm install

Start dev server using rollup

npm run dev

Additional scripts:

  • Build the project
    npm run build
  • Lint the code - config see .eslintrc.json
    npm run lint

Production

TODO Docker

Roadmap

The following roadmap contains all the planned features:

  • Chessfield
    • Field
    • Ranks
    • Pieces
  • Global store to track game state
  • Movement
    • General movement
    • Track turn count
    • Field restrictions
    • Piece restrictions
      • Rook
      • Knight
      • Bishop
      • Queen
      • King
      • Pond
    • Castling
    • EnPassant
    • Check
    • Checkmate
  • Visuals
    • Highlight last turn
    • Theme selection
    • Analysis tool to visualize future turns
    • Mirror board
  • FEN
    • Parse FEN
    • Generate board from FEN
    • Generate FEN from Board
    • FEN validation
    • FEN export

About

Simple chess game implemented with svelte and plain java script.

https://bremauer.cc

License:GNU General Public License v3.0


Languages

Language:JavaScript 56.1%Language:Svelte 38.3%Language:HTML 3.5%Language:SCSS 2.2%