Dr Andrew Scott G7VAV

My photo
 
April 2024
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


Simple JavaScript Game
This is the basis for a Defender like arcade game written in JavaScript. You can see screen dumps of some other crazy experiments I've done with JavaScript by looking at the software page.
Note that this example shows how to define and use JavaScript objects/ classes. They are more simplistic than those available in languages like Java but can still help to improve the structure of complex code.
Image of game
Code
Click to Play the Game


for client 52.14.126.74
© Andrew Scott 2006 - 2024,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/