I’ve now changed the way that games are displayed on the site – rather than games needing an individual page for each I’ve setup a dynamic system that allows many more games to appear.
For example, I uploaded an Amiga and a BBC game – but now there are multiple versions of the games. Just click on the icon below to play:
History of the Amiga:
History of the BBC Micro:
Thus future games – as I or students create them – can rapidly be rolled out as the different available games. As I add new games – such as ‘On Target?’ and ‘Hole in One’ – they will be dynamically picked up by the system.
It all works in quite a straightforward way. The games page url just includes the ‘game type’ + ‘topic data’ details. This is pulled into the main .html via javascript and dynamically loaded all on the same page. Thus the moment a new topic (i.e. set of questions) has been uploaded all the possible games are instantly available.
Hi there -just read your post.
This is a far more semantic and Web 2.0 solution to your problem -having to create a new HTML document for each game is bang out of order!
Looking excellent!
Tim.
Thanks Tim – as I explained in class the page is one page that cleverly tries to adapt itself depending on what you put in the URL. Javascript within the page pulls the game type and the game topic from the URL.
This means as each topic is added the games will be automatically available. It is a simple bit of code that I hope will prove really useful.