GameAutomators / gameautomators.github.io

The main website for Game Automators
MIT License
2 stars 5 forks source link

JSON Format for automated games #3

Open shubhi101 opened 8 years ago

shubhi101 commented 8 years ago

We can have an array of objects like - { 'name':'Ready Steady Bang', 'image': 'path of image', 'link' : 'link to open in the book' }

shubhi101 commented 8 years ago

@sudheesh001 : How will new games be added? Should this data be written in a file in JSON format so that it is read from the file and rendered in HTML every time the page loads?

Also, I tried to label the issue like this but couldn't find checkboxes next to the issue. It would be great if you could guide me through it.

psurya1994 commented 8 years ago

Yes, the data will be added in the JSON format.

@sudheesh001 : correct me if I'm wrong.

sudheesh001 commented 8 years ago

No that is abosolutely correct @psurya1994

Everytime a new game is added, the only edit has to be to the json file. We can even automate that using github api but lets put that for later.

psurya1994 commented 8 years ago

@sudheesh001: Has this been fixed by @rajmani1995 in the development branch?