2048-in-react
:joystick: 2048 game in Next.js with awesome animations!
File Explorer
- demo.gif
- action.yml
- check-code.yml
- lint.yml
- publish.yml
- test.yml
- board.test.tsx
- mobile-swiper.test.tsx
- score.test.tsx
- tile.test.tsx
- game-context.test.tsx
- use-previous-props.test.ts
- game-reducer.test.ts
- board.tsx
- mobile-swiper.tsx
- score.tsx
- splash.tsx
- tile.tsx
- game-context.tsx
- use-previous-props.ts
- tile.ts
- _app.tsx
- _document.tsx
- index.tsx
- apple-touch-icon.png
- favicon.ico
- favicon16.png
- favicon32.png
- logo512.png
- social-github.svg
- social-twitter.svg
- game-reducer.ts
- board.module.css
- globals.css
- index.module.css
- score.module.css
- splash.module.css
- tile.module.css
- .editorconfig
- .eslintrc.json
- .gitignore
- .nvmrc
- .prettierrc
- constants.ts
- jest.config.js
- jest.setup.js
- LICENSE
- next.config.js
- package-lock.json
- package.json
- README.md
- tsconfig.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
Command Glossary
Commands referenced in this DOCs, explained below.
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
// repository documentation
Was this content helpful?
(0 ratings)
