-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement]: Added all the Games and Games load now #4904
Conversation
here i have added games to the gameData.json so that they are shown on the main website , at present nearly 200 to 250 games are still not visible on the website , I am working to add them , along with adding required images that are not uploaded , deleting unnecessary images , renaming some to match game name , and removing those that are added to the wrong folders
these images were added to games folder instead of the dedicated game folder of a particular game , so I removed them , since the actual game already have them
There was a spelling mistake in the game name so I Have corrected the game name from buliding to building
here I have moved the preview image of Drawing_app game from its main folder to the dedicated folder assets/images
here I have Updated the name of the game from carrom.html to index.html so that the game actually runs when clicked on the main website instead of showing the folders
before changes we had to manually enter the number of games that need to be shown from gameData.json , anytime we add a new game we had to update that index number , now it is being done automatically , all the games present in the json file will be shown
these images refer to one game but the name of another game got used , so I updated the image name so that they refer to the particular game they belong to
here the contributor added the .png extension in the name itself , causing bugs for game load , so the name is updated to removed the problem
here the image don't have the same name as game , causing confusion for adding new games when similar name games are added , so the name of the image is updated to match the name of the game i.e Dice_Showdown_Game
here also the names of the image don't match the game so updated the name to match the game name, also removed unnecessary image as we only need one ,hence reduced the load time of the website
some games were added to the project without any preview image , so I am adding the images for the games,
Here I have updated contributors guideline based on my experience when I was adding games to the gameData.json , I came through a lot of cases where the name of preview image is not same as game , format is added in the name itself , images are added in the wrong folders , instead of just one preview image too many have been added , increasing the load time of the website , some people even made the main html file with some other name , other than index.html , increasing overhead to add that game , some even put the index.html in subfolders. some added the preview image to the game folder itself and not in assets/images
Here I updated the name of main html file to index.html so it can be loaded to main website automatically
I have deleted this game because there is a exact copy of this same game with same name ,same code ,i.e. Mario_Matching
updated game main html file name so that it load automatically without extra manual additions
These images belong to assets folder of the games , these are not preview images , they are added in the wrong folder
this file is directly added to the games folder, and it have no use there , so to clean up the project overall , I have removed this file
I have Added preview Images for the Games that didn't had any
Some of these images have their names updated to match the game name and some have been removed as they were named using the name of a different game
I have updated contributors guideline , so that contributors themselves add their games to the gameData.json
Changes to resolve conflicts in gamesData.json
Thank you @mohitgedar ,for creating the PR and contributing to our GameZone 💗 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go!!
Thank you @mohitgedar , for your valuable time and contribution in our GameZone 💗. |
PR Description 📜
Fixes #4903
Summary of the Changes that I have made :
Note:- Pagination for games is not working anymore but that is not because of the changes that I have made .
Mark the task you have completed ✅
Preview Using YouTube 📸
Before changes
After changes
Thank you soo much for contributing to our repository 💗