Skip to content

DevSecOps: Deploying the 2048 Game on Docker and Kubernetes with Jenkins CI/CD

License

Notifications You must be signed in to change notification settings

ROY-BARLA1810/REACT_JS-2048-CODE

Repository files navigation

Getting Started with 2048

This game (2048) was built using React and TypeScript. The unique part of this example is animations. The animations in React aren't that straightforward, so I hope you can learn something new from it.

Wondering how was that built? You can find a video tutorial on my YouTube Channel

How To Play?

You can play 2048 on Github pages

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.