Tuesday, May 25, 2010

5/25/2010- Tuesday

Another day full of programming. We are moving on now, and made the ball in our billiards game move according to our wish. But, as I have posted earlier, the function for bouncing the ball wasn't working, so we decided we will move on, as we are already short of time, till Arnav sir finds the older version of fang library with the working function. We also had surprise visitors and we showed them our games and the Scratch animation we have been making on Saturdays. Only one more week to go, and then we will put all our knowledge as programmers in making our games.

Three things I learned today:
1) How to make stuff move where we point. For example, a cue ball. The funny part is that we just keep on adding velocity transformers on it, so it moves in a funny way. A very good game could come out of that now!
2) How to use Tan and Co-Tan in Java. Why does it have to be so complicated? I mean, can't we just change the angle of the ball without using Trignometry? Not a question, because I know the answer. As of now- no.
3) How to put stuff in patterns using arrays and for loops. We actually did more practice of that today.

Some questions I have:
1) Why can't the computer be accurate? I mean, I read it in our book, that the computer messes up sometimes. But the main purpose of the invention of computer was to make a calculator. So why does it falter in it's main purpose?
2) When you move from place to place, you would see that the rules of the same game change. Take UNO for example, some people play it with the rule that when you place a draw 2 or draw 4 card, and the next player, player 2, places one more, the draws are transferred to the next player , player 3. Why does this happen?
3) When transferring a game from it's X-Box or PSP version to Computer, do they recreate the entire code again to suit the computer? I mean, don't they have to write all that stuff again in another language?

No comments:

Post a Comment