Jan
21
2009
2

Dynamic display of games

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:

Walk the Plank Penalty Shootout Hoopshoot En Garde Fling the Teacher Beat 'da Bomb

History of the BBC Micro:

Walk the Plank Penalty Shootout Hoopshoot En Garde Fling the Teacher Beat 'da Bomb

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.

Written by in: Games,Main site |

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com