https://github.com/tk120404/2048-react
2048 game in react.js
https://github.com/tk120404/2048-react
Last synced: 2 months ago
JSON representation
2048 game in react.js
- Host: GitHub
- URL: https://github.com/tk120404/2048-react
- Owner: tk120404
- Created: 2015-04-06T11:48:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-06T11:53:04.000Z (about 10 years ago)
- Last Synced: 2025-02-06T21:31:05.017Z (4 months ago)
- Language: CSS
- Homepage: http://tk120404.github.io/2048-react/
- Size: 242 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
2048-react
==========This is a clone of [2048](http://gabrielecirulli.github.io/2048/) implemented using React. It's running live [here](http://tk120404.github.io/2048-react/).
## Building and running
To run, simply start a web server serving the main project directory. For example, using ```node-static```, you can do
npm install -g node-static
static -p 8000
and the game will be accessible on ```localhost:8000```.If you change a file which needs to be rebuilt (that is, any file inside the ```src``` dir), you need to run ```gulp```.
npm install -g gulp
npm install
gulp build # to rebuild the files once, or
gulp # to watch the files for changes and rebuild continously.