Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.32 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.32 KB

chess-elm

Creating a chess game with elm.

Run Locally

Start by cloning the repo...

$ git clone [email protected]:RobStallion/chess-elm.git && cd chess-elm

Dependencies

Install elm. Installation instructions can be found here

Run with elm reactor

To get to project up and running just do the following steps...

$ elm make src/Main.elm --output public/js/elm.js
$ elm reactor
Visit localhost:8000 in your browser and navigate to public/index.html

And that's it 🎉🎉🎉🎉🎉

Run in dev mode

If you want to run this application in a dev environment I would recommend installing elm-live. Installation instructions can be found here

Once you have installed elm-live, do the following...

$ elm-live src/Main.elm --open --dir=public -- --output=public/js/elm.js --debug

Why

I decided to start building this because I like chess (although, sadly, I am not very good) and because I really like elm. I thought it would be a good way for me to sharpen my elm skills while also HOPEFULLY gaining a better understanding of chess.