|
Galactic was probably my first large programming project. It was certainly the first good game that I wrote. Looking back at the code now is an amazing thing. At the time, I didn't really understand how types worked in QB, so I used about 20 arrays. That's right, it's all quick basic =-) I believe this was written in 9th grade, although I can't really remember. What I do recall is that when I brought it in to school to show Eric (we were pretty much in constant competition at the time), he decided to put a snazzy user interface on it. |
|
|
SUB SAVEMOVE |
There really isn't anything that's as beautiful as Quick Basic is there? This subroutine was simply meant to save a given move that one of the players entered. Don't ask why it wasn't an array of some type, instead of 5 arrays... 9th grade, remember? |
|
Eric actually succeeded by the way. Well... sort of anyhow. The interface ended up being a million times better; however, in the course of fixing the interface, Eric managed to break the code that actually did all the calculations. It was roughly around this time that we decided that if we were going to work on projects together, he would do the UI, and I would do the lower-level programming. You can get the source here. Have fun! |
|