This is my first ever graphical game and what ignited my passion for game programming.
There is actually a good story behind this one:
In a Java programming course in college (I took it in the summer to speed up), the teacher opened the end of the chapter that we were in, where there were 11 programming assignments. Then, he wrote the numbers from 1 to 11 on pieces of paper and put them on the table. He then divided the class into 3-person teams so there were 11 teams. He asked one of each team to pick a paper. I got up and took a paper. Maybe it was luck, maybe it was fate, but I took the assignment that was a game, a tic-tac-toe game (problem number 11! maybe it was luck :P )!
At first I thought “This is going to be one hell of an assignment”. I agreed with my partners (one was active, the other we didn’t see until the end of the project) that I’ll do the coding for the game (the other guy I gave the interface task to). So, I sat in front of the PC, searched on-line for a similar game, saw how it’s done. BUT, what I saw was very complicated for my level. So, I just listed the main area, closed the browser, and started coding. Lines go here lines go there, a lot of compilations and debugging and in the end…. I DID IT! What a thrill it was to talk about it during the presentation, I know every line, every method and best of all, I wrote it myself! Needless to say that I (and my partner, who did a great job improving the graphical layout) got 100% in the project.
You can see the code HERE.
You can download the code HERE.
Related Articles
No user responded in this post
Leave A Reply