Skip to content

ReasonVienna/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a TicTacToe implementation in ReasonML. We used the reason-react-examples project as a base.

System setup

# On OSX, install opam via Homebrew:
brew update
brew install opam
# On Linux, see here (you'll need opam >= 1.2.2): http://opam.ocaml.org/doc/Install.html

opam init

# **Note**: add the line below to your ~/.bashrc or ~/.zshrc too; it's needed at every shell startup
eval $(opam config env)
opam update
opam switch 4.02.3

opam install reason
opam install merlin

Install project and dependencies

# Clone the repo
git clone https://github.com/reasonvienna/tictactoe.git
cd tictactoe 

npm install
npm start
# in another tab
npm run build
# open the html file directly in your browsers e.g. src/tictactoe/index.html

After you see the webpack compilation succeed (the npm run build step), open up the nested html files in src/*! Then modify whichever file in src and refresh the page to see the changes.

About

A TicTacToe implementation in ReasonML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published