Skip to content

DevonKS/clj-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clojure Chess

Introduction

A simple chess ui for playing chess written using reagent and electron. By simple I mean it contains no chess engine, all the engine work must be performed on the server. Clojure Chess is writtent to work with cl-chess.

Chess Board

Features

  • Highlight squares in 4 different colors.
  • Draw Arrows on the board.
  • Valid move hints.
  • Drag and Drop as well as click to move.

Development

Development mode

npm install
npm run dev
electron .

start a ClojureScript REPL

clj -M:shadow-cljs browser-repl

Building for production

npm run build
npx electron-packager . clj-chess

Debugging build issues

If the release build doesn't work then you can compile a debug version and view it in the browser to get nice error messages.

  1. Compile a debug version
clj -M:shadow-cljs release main app --debug
  1. Open the public/index.html file in a browser and open the console to see errors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published