ahsansn / compendium-for-games Goto Github PK
View Code? Open in Web Editor NEWA SEGA type compendium where people can play game of their choice. It also contains the option to upload new games.
A SEGA type compendium where people can play game of their choice. It also contains the option to upload new games.
Use "electron-db" as the software's database instead of GamesDB.txt
. Replace all the present functions. Create a new file e-Database.js
and dont edit the current database.js
.
Take advantage of asynchronous programming and load all static files (css/js) from main.js instead of the respective .html
files. This should reduce the loading time of the software.
Edit the viewgames.css
and viewgames.html
such that the viewgames.html is divided into two vertical parts. One contains the list of games as in the present code, and the other will have space for 1 screenshot of the game.
Edit uploadgame.html
and uploadgame.js
and add an option of uploading 1 screenshot image of the image. This image path should then be added to the database.
Edit the database.js such that now GamesDB.txt stores 4 values instead of 3. The new stored value (4th line in database)should be an image path. Make new functions if required.
Create a function inside "js/renderer.js" can takes a folder name as input, and returns the static path (C:/...) of the the .exe file present in it. You are told that the folder will always contain one and only one .exe file.
Edit the "js/renderer.js", such that when a game is selected, the path of the selected game should not be dynamically made, but should be selected from "GamesDB.txt". Make necessary functions in database.js
Create a function getUsername()
inside uploadGame.js
that returns the computers username. This will later be used when uploading the game to the cloud using the software.
Create necessay file and functions that are run when the software is run. The file will check if there is a software's shortcut on the user's desktop. If not, it will create the exe's shortcut.
Add another screen "gameRunning.html" that should run once an exe has started running. It should contain a return option that sends the user to "viewGames.html"
Properly style about.css
and about.html
such that it looks good.
I have tried literally everything but I cant get the .gitignore to ignore my .vs</code> folder. Serious help is needed here.
(linked to issue 2)
Create a function in renderer.js
that takes as input the path of an image file and shows it as the screenshot of the present game.
Escape all types of html special characters in the uploadgame.js
such that Javascript and HTML injection is not possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.