Skip to content

Instantly share code, notes, and snippets.

@Jbern16
Created April 8, 2016 16:11
Show Gist options
  • Save Jbern16/6982b1bbc871c21cbfeafc7d7e1d4876 to your computer and use it in GitHub Desktop.
Save Jbern16/6982b1bbc871c21cbfeafc7d7e1d4876 to your computer and use it in GitHub Desktop.
#### Important links:
The Elm Architecture - https://github.com/evancz/elm-architecture-tutorial/
StartApp.Simple - https://github.com/evancz/start-app
Core Libraries - http://package.elm-lang.org/packages/elm-lang/core/3.0.0/
#### Install
Install the Elm Platform by downloading and running the Elm installer for your favorite operating system.
Once you've installed the Elm Platform, you should be able to run the following command:
elm make --version
The code included in this tutorial is based on Elm Platform 0.16, so make sure that version is displayed in the output.
You'll also need to install the Node.js JavaScript environment as the Elm REPL relies on it to run JavaScript code outside the browser. Pre-built installers are available for Mac and Windows. Alternatively, if you're using the Homebrew package manager on a Mac, you can install Node.js using brew install node.
Once installed, you should be able the run the following commands and see version numbers:
node --version
npm --version
For reference during the course, go ahead and bookmark the documentation pages for the Elm Core Libraries and the elm-html package.
Finally, we also recommend installing an Elm syntax highlighting plugin or mode for your favorite text editor.
### Itertion 1:
Create a Game Board structure in the browser that we can build reactivity onto.
### Iteration 2:
Make each box reactive to onClick. When clicked, a X will be placed in the box.
## Iteration 3:
Add computer logic for AI
## Iteration 4:
Implement computer logic into our view and have it respond to us
## Iteration 5:
Add delay of AI using effects and styling for the app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment