I am currently *thinking* about implementing a Risk, the boardgame,
clone. It should work in a browser and I wonder what would be the best
approach to implement the frontend?
I guess I could go for image maps, which would work in many browsers,
but then the game would lack interactivity.
A Java Applet would be another alternative, but Java is not ubiquitous
and more importantly it cannot talk to the embedding webpage. At least
wrong, but after playing with this combination for a short time it seems
to me, that SVG is scriptable and it plays well with the embedding page.
Of course SVG is even less wide spread then Java, but one can always
hope for the future.
I would start with the Firefox 1.5 implementation and probably use the
Adobe SVG Viewer as an alternative.
On a related note. How would you start to build/gather the SVG maps? I
had a look at the ones returned by google, but the maps were usually
hugh (talking multiple megabytes here -
and also lack containers that a) identify which country they describe
inside the complete SVG and b) don't seem to be scriptable. I can't put
onmouseover etc. on a path, can I?
Any comments would be highly appreciated.