In order to deploy the game on the final website, the following changes are needed.
Make the changes in a new draft PR titled Final deployment prep to this repo and add Fixes #1 as its description.
Changes requested
[x] Move the all images from /public/* folder to /src/assets/images and instead fetching the images or using image urls use (await import(url)).default as the image
[x] Move all audio and json files to /src/assets
[x] Use your game icon as the favicon
[x] Make all react files have .jsx extension
[x] Make all other files not returning any react components to have .js extension
[x] Move all utility functions like PointerMove to src/utils/<funcname>.js
[x] Delete the Backend directory
[x] Move all components to /src/components folder along with component specific css.
PixiComponent*.jsx
PixiGame*.jsx
Home.jsx
Footer.jsx
Completed.jsx
Voice.jsx
[x] Remove any commented code from all the files.
[x] Try to combine all levels to a single reusable component with different levels stored as json.
[x] Make the root path of the game as /games/wordsearching
[x] Remove any redundant assets to minimize the build size like vite.svg, react.svg.
In order to deploy the game on the final website, the following changes are needed.
Make the changes in a new draft PR titled
Final deployment prep
to this repo and addFixes #1
as its description.Changes requested
/public/*
folder to/src/assets/images
and instead fetching the images or using image urls use(await import(url)).default
as the image/src/assets
.jsx
extension.js
extensionPointerMove
tosrc/utils/<funcname>.js
/src/components
folder along with component specific css.PixiComponent*.jsx
PixiGame*.jsx
Home.jsx
Footer.jsx
Completed.jsx
Voice.jsx
/games/wordsearching
vite.svg
,react.svg
.require()
in your code