An implementation of SameGame built in React.
Go to file
Matthew Barnes 2524e2c0d0
continuous-integration/drone/push Build is passing Details
Change drone to ci in README
2023-02-12 18:07:27 +00:00
public Never mind; seems I didn't need docs 2019-09-24 16:43:30 +01:00
src Winning and losing is now displayed 2019-09-24 21:26:49 +01:00
.drone.yml Switched to npm install 2021-10-22 20:41:45 +01:00
.gitignore We can now display the grid 2019-09-24 03:31:33 +01:00
LICENSE Changed licence to AGPLv3 2021-10-17 16:29:32 +00:00 Change drone to ci in README 2023-02-12 18:07:27 +00:00
package.json Never mind; seems I didn't need docs 2019-09-24 16:43:30 +01:00
tsconfig.json Initial commit from Create React App 2019-09-23 02:23:16 +01:00

Build Status Available on GitHub License: AGPL v3

SameGame for React

This is an implementation of SameGame built in React.

Play the game here.

This project was bootstrapped with Create React App.

How to build since 02/01/2022

This project has some serious software rot :P

Upon trying to install and build, you'll get build errors in node_modules related to imported types.

As a workaround, edit the file in node_modules (for me it was Codegen.d.ts) and replace the erroneous imported types with any types.

Then, the builds will work ok.

P.S. I recommend using yarn, not npm. Yes, I know CI uses npm. Yes, I know I'm an idiot for doing that. But I don't want to change it because it's working.

Available Scripts

In the project directory, you can run:

npm 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.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run 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.

npm run eject

Note: this is a one-way operation. Once you eject, you cant go back!

If you arent satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.

You dont have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.