Monday, September 28, 2009

Baby steps.

After fleshing out the details of my robot game, I have come to realize that this is a rather ambitious project for a noob, so I am taking baby steps. First I will reformat the Tic Tac Toe engine in order to make it more universal, then I will make several projects just to gain practice. After which I will begin making my robot game.

I think I am talking to myself now, so I will withdraw posting here until I can get more followers.

Saturday, September 19, 2009

Robots

We r gunna makin' robots that are gunna blow up stuff*makes sure Robotics teacher isn't looking*. Not really, sort of. I'M making a robot that's going to blow stuff up(Maybe), my robotics CLASS is making a robot for a contest. Guess who is one of the programmers.

Let's talk about the latter, first. Our class is participating in a robotics contest held by an organization named "BEST", ours is the Dallas branch. More information at Dallas-best.org. I am going to be learning C programming in order to do this. I already know basic c++ so the conversion shouldn't be too hard.


Now for the former, I just thought of a vague idea for a game, about robots( =]) I don't know much about it(I just know it will be about robots), but it will implement my tic tac toe engine(It will NOT be a tic tac toe clone with robots. XD)


That is all, for now.

Friday, September 11, 2009

Finished


Even though I may be talking to myself, I think I will post this anyways.

I have finally finished the tic tac toe engine.(psst, those aren't real scores.) and have learned quite a few things:(Thanks in no small part to the denizens of gamedev.net forums. Topic:
here )

-To completely clear an array, simply add the line: arrayName = new Array();
-You may clear display objects from the stage by putting their references in an array, and using similar syntax to this:

for(stuff){
removeChildAt(arrayName[stuff]);
}

Now I am asking myself: "Now what?" Perhaps I will be expanding upon this engine, adapting it for certain needs. Maybe do a little Project Euler in C++. For now, though, I am beaming out. Good bye.

Wednesday, September 2, 2009

Algorithms.....rithms...rithms...rithms....FAIL!!!


Well, my Tic tac toe game is nearly finished... Just one thing stands in my way...

Correction... two things. o.O


While picking up a screenshot to add to this post, I noticed that I deleted my entire visual display. The game itself still works, but I have to re-make the score board from scratch. >.< As you can see, the code that references those text boxes has been commented off.This is actually NOT a bit of drama that I have added to make my blog more interesting...Really...

Other than that, I simply have to write the code that checks if a win condition is present. This requires checking the grid. I have several solutions in mind, but I must stress that one of the things that can make or break a game is efficient code. This is why it is difficult to find the proper solution.
Anyways, I am pressed for time, so I will cut this short. Good bye.