Show HN: A Tribute to “Asteroids”
harimohanraj89.github.io
harimohanraj89.github.io
https://github.com/santialbo/Asteroids
play here: https://rawgit.com/santialbo/Asteroids/master/default.htm
I really liked the arcade version of asteroids, so me and a friend wrote a version in PDP assembler for a class project. I wish I still had the source code, but let's just say it was not as compact (e.g., we had to do the video driver, random number generation, trig, etc.), and took a couple of weeks.
Although the basic OO design is the same, which is cool.
Then I noticed that if it wasn't going to hit me on the pass and wasn't the smallest size, that was bad.
I started waiting on the first big with a direct line, taking that guy down to basic and repeating.
Zen Astroids. :)
Very clean code btw.
http://www.dailyutahchronicle.com/index.php/a-tribute-to-ste...
:-P