thearst3rd / ffish-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ffish-test

This is a fun little repository for me to hack on software like Fairy-Stockfish, it's accompanying ffish.js library, and the graphical chessgroundx. I can't guarantee that much of it will be very useful, I'm just hoping it's a fun project :)

You can see it deployed at: https://thearst3rd.github.io/ffish-test/

What is it

ffish-test is my little project which uses ffish.js to generate legal moves for chess and chess variants, and chessgroundx to graphically display them and let the user interact with them. It has a few simple options to undo moves, reset the board to a new game, and enable a random-mover "AI". It supports a few variants which I selected, and it's very easy to add new variants assuming they work with the currently-existing limited setup (8x8 board only, mostly standard pieces + chancellor and archbishop, no pockets/piece dropping, etc).

Usage

Install dependancies

npm install

Bundle javascript

# One time use
npm run build

# or, continuously run in background and watch for changes
npm run watch-build

Start server

npm start

Then, browse to http://localhost:8000

Enjoy!

Attribution

See COPYING.md

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 45.9%Language:CSS 43.5%Language:HTML 10.6%