wildgoosespeeder
Code Helper
Tiers are for strangers!
Posts: 530
wildgoosespeeder said 161 great things
|
Post by wildgoosespeeder on Oct 6, 2010 19:40:44 GMT -8
Simply copy and paste the following code in the address bar to begin a game of asteroids. Just fly around and blow stuff up. Really you can blow up smileys, UBBC buttons, etc.. Escape to exit, up arrow to move forward, left and right arrows to turn, and space bar to shoot. javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(0); Hmm, maybe Wormopolis can whip up a script to have a certain boards automatically play asteriods.
|
|
|
Post by Wormopolis on Oct 7, 2010 21:41:52 GMT -8
only got it to work in FF...
javascript: var s=document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(0);
|
|
|
Post by Wormopolis on Oct 8, 2010 19:26:00 GMT -8
I wouldnt add a button to the pages unless I could credit the source of the code.
|
|
wildgoosespeeder
Code Helper
Tiers are for strangers!
Posts: 530
wildgoosespeeder said 161 great things
|
Post by wildgoosespeeder on Oct 8, 2010 19:41:41 GMT -8
Well it came from here if that's what you are refering to...
|
|
|
Post by Wormopolis on Oct 8, 2010 20:29:50 GMT -8
yep. Its a cool code, but I dont like adding anything without an author.
I will see what I can do... maybe add a button to the menu
|
|