Skip to content

glitchboyl/r2048

Repository files navigation

R2048

A React/React-Native 2048 game.

React version preview

Build Setup

# clone this repo
git clone https://github.com/glitchboyl/R2048

# cd to dir
cd R2048

# install dependencies
npm install / yarn

# serve with hot reload at localhost:3000
npm start / yarn start

# build for production with minification
npm run build / yarn run build

# deploy to gh-page branch
npm run deploy / yarn run deploy

(React-Native version also can play but it still has a lot of bugs.)