I put the Platform as C++ Because i don't know what this code language is.
It's actually TI-BASIC which derives from BASIC.
I have a TI-89 but I've never programmed anything on it, I don't think I'd have the patience of writing it on the calculator (I don't have a USB for it).
The only thing I've done is custom functions, like slope(), dist(), midpoint(), stuff like that.
Why not declare and initialize them in the same line?
Code
And with,
Code
You can use \n in a string to skip a line, so you could do:
Code
Haven't tested your code but looks like a nice simple game.
Edit:
Quote
Works in the essence, you'll have to type the color of the wire exactly to have a chance at winning..(eg. if the wire is called "Blue" it wont accept "blue") java's pro regex for ya -.-
Just noticed this in the intro, you can correct that by using:
Code
As for restarting the program, a simple way to do it would be to put the playing part in while (true) { } and then when you win/lose you can ask if they wanna play again and input a string, and if no, just return;.
I believe tablenum is being dimmed as a variant since you didn't specify a type, unless that's different in .NET than VB6. Looks like they should be integers too:
Code
And rather than doing the Do...Loop Until 1 = 2, you can just do Do...Loop
I'm not sure about drjava, but it should pretty much be the same as I did in JCreator. Make an applet project and have two files: one for the main coding (BreakOut.java) and one for the brick properties (brick.java).
@Slickone: what do "." infront of timers actually do, and why name them?
If you just have "timer", you'll see the status window filling up with lines like "timer initialized" or something like that. If you do .timer you won't get any of that.