Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterbecich/halogen-chess
https://github.com/peterbecich/halogen-chess
chess chessboard purescript purescript-halogen
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/peterbecich/halogen-chess
- Owner: peterbecich
- License: bsd-3-clause
- Created: 2021-04-25T01:13:11.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T03:04:29.000Z (5 months ago)
- Last Synced: 2024-06-20T14:55:25.065Z (5 months ago)
- Topics: chess, chessboard, purescript, purescript-halogen
- Language: PureScript
- Homepage:
- Size: 813 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Halogen Chess
[![Haskell](https://github.com/peterbecich/halogen-chess/actions/workflows/haskell.yml/badge.svg)](https://github.com/peterbecich/halogen-chess/actions/workflows/haskell.yml)
[![Purescript](https://github.com/peterbecich/halogen-chess/actions/workflows/purescript.yml/badge.svg)](https://github.com/peterbecich/halogen-chess/actions/workflows/purescript.yml)
[![Build status](https://github.com/peterbecich/halogen-chess/actions/workflows/nix.yml/badge.svg)](https://github.com/peterbecich/halogen-chess/actions/workflows/nix.yml)
This project uses:* [Purescript Bridge](https://github.com/eskimor/purescript-bridge)
* [Purescript Halogen](https://github.com/purescript-halogen/purescript-halogen)
* [Purescript Halogen Store](https://github.com/thomashoneyman/purescript-halogen-store)
* [Purescript Routing](https://github.com/purescript-contrib/purescript-routing)
* [Purescript Routing Duplex](https://github.com/natefaubion/purescript-routing-duplex)
* [Haskell library chessIO](https://github.com/mlang/chessIO)Buggy, and lots of inefficiencies in this single-page app; will be fixed later!
![Chess board](doc/chessboard.png)
* `spago bundle-app --to static/index.js --watch`
* `cabal run halogen-chess`
* [http://localhost:8080](http://localhost:8080)* `cabal run generate-purescript` to use Purescript Bridge
routes:
* [http://localhost:8080/chess](http://localhost:8080/chess)
* [http://localhost:8080/pageB](http://localhost:8080/pageB)
* [http://localhost:8080/pageC](http://localhost:8080/pageC)```
ghcid --command="cabal repl"
``````
stylish-haskell --inplace $(find -name '*.hs' -not -path './dist-newstyle/*')
```Feedback loop:
```
feedback test
``````
nix run .#localDevelopment
```