The assignment? Create something in C++ with an ancient graphics library. It had to have input and a menu system and there was extra credit for motion.
I opted to create a souped up Pong game.
Glowy Thing Pong is a game where you control a paddle of various colors, launch a ball of various colors, and try to destroy little Glowy Things of various colors. The rules are simple; the ball you have only destroys Glowy Things when it matches their color. The ball only changes color when it hits your paddle, at which point it takes on whatever color the paddle is. The paddle changes colors by pressing the number keys 1, 2, and 3, or by clicking on Glowy Things.
There is an absurdly long timer that keeps score for you. When the ball is lost to fates unknown by hitting the bottom of the screen, you get a penalty. Right click any time to pause and load a menu. Left click to shoot the ball.
Any questions? That’s what comments are for.
I’m going to be honest with you: I don’t know if this game works. I should probably test it more, but then I can think of a number of things that are more important than testing this game. In fact, there are plenty of things more important than even posting it online. So be grateful. No complaining from you. Hush.
I wouldn’t oppose bug reports, but you’ll have to word them cleverly. This is a sarcastic text-based RPG. It requires sarcastic testing.
Now for a little history. Back in my senior year of High School (this was 2004-2005 for me), I learned how to program in Java, if you use the term ‘program’ loosely. Some friends of mine also learned with me, and after our teacher gave us the lesson, we would finish the assignment as quickly as possible and begin programming our own stuff. We picked up faster than our teacher, as it was his first semester ever teaching a programming course, and we had almost the entire hour of class to do our own work for most of the semester.
The result was a massive, monolithic Java class called RPG, a very simple command-line game. I have since learned the art of Object Oriented programming and code reuse, and rewrote it in C# in about two hours.
Just start the executable up and play.
public class TimeSort
public bool WillBeSorted = false;
private int List;
public int SortedList
public void SortList(int ListToSort)
Sort Algorithm of O(1). I just need someone to implement the TimeTravel library. Any takers?