├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.svg ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt └── src ├── assets └── img │ ├── 1024.gif │ ├── 128.gif │ ├── 16.gif │ ├── 2.gif │ ├── 2048.gif │ ├── 256.gif │ ├── 32.gif │ ├── 4.gif │ ├── 512.gif │ ├── 64.gif │ ├── 8.gif │ ├── game-over.gif │ └── try-again.gif ├── clear-sans.ttf ├── components ├── Board.jsx ├── Cell.jsx ├── GameOverlay.jsx └── Tile.jsx ├── helper └── index.js ├── hooks └── useEvent.js ├── index.js ├── main.scss └── styles.scss /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/public/favicon.svg -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/assets/img/1024.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/1024.gif -------------------------------------------------------------------------------- /src/assets/img/128.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/128.gif -------------------------------------------------------------------------------- /src/assets/img/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/16.gif -------------------------------------------------------------------------------- /src/assets/img/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/2.gif -------------------------------------------------------------------------------- /src/assets/img/2048.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/2048.gif -------------------------------------------------------------------------------- /src/assets/img/256.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/256.gif -------------------------------------------------------------------------------- /src/assets/img/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/32.gif -------------------------------------------------------------------------------- /src/assets/img/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/4.gif -------------------------------------------------------------------------------- /src/assets/img/512.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/512.gif -------------------------------------------------------------------------------- /src/assets/img/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/64.gif -------------------------------------------------------------------------------- /src/assets/img/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/8.gif -------------------------------------------------------------------------------- /src/assets/img/game-over.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/game-over.gif -------------------------------------------------------------------------------- /src/assets/img/try-again.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/assets/img/try-again.gif -------------------------------------------------------------------------------- /src/clear-sans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/clear-sans.ttf -------------------------------------------------------------------------------- /src/components/Board.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/components/Board.jsx -------------------------------------------------------------------------------- /src/components/Cell.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/components/Cell.jsx -------------------------------------------------------------------------------- /src/components/GameOverlay.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/components/GameOverlay.jsx -------------------------------------------------------------------------------- /src/components/Tile.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/components/Tile.jsx -------------------------------------------------------------------------------- /src/helper/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/helper/index.js -------------------------------------------------------------------------------- /src/hooks/useEvent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/hooks/useEvent.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/index.js -------------------------------------------------------------------------------- /src/main.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/main.scss -------------------------------------------------------------------------------- /src/styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monicatvera/2048/HEAD/src/styles.scss --------------------------------------------------------------------------------