Hello fans, no you cannot have my address. Welcome to another post in my superbly awesome blog. Wait? you ask, Does this mean you are in a good mood? No, not really, but I like filler. Anyways, on to the new post. Not much occurred so far this week. I just learned some probability simulations, and am now worried for the new test that is coming up. The last time I had taken the probabilistic simulations test (GR 11) I remember getting the lowest mark in my course, and since I can't quite afford to drop down this close to midterms, going to have to crack the whip and really buckle down and get some work done on it to get it down pat.
So far, we have only learned the method to get a new random number from x to y. R.Next(x,y) is what the code is, and really simplifies the old method of Visual Basic. Couldn't stand using that method, and again C# triumphs over VB. Anyways, other than probability, I finished another question in programming. There was a program that given a random table, format of:
1 2 3 4 5
2 3 4 5 6
3 4 5 6 7
4 5 6 7 8
5 6 7 8 9
One would be given a spot inside the domain of the table, and then "walk" given the parameters to walk (in this case governed by the remainder) where if one would exit the "border" / leave the array, or reach a 0 value, the walk would end and the total of all number blocks one has traveled on would be accumulated. It was actually quite a bit harder than I remembered. This is mainly due to the fact that I like to skip code when I first start writing code, and this really screws with my ability to code well. I am going to have to fix this, because it may have adverse effects later on, but that's for another blog. I have been looking at the recursion problem which seems easy, going to attempt it probably sometime this weekend. Also, preliminaries on what video game concept to create in C# begin now. If you have any idea, post in comments. Goodbye readers, and come back to another episode of Blake Hates Semicolons, Squiggly Lines and Much MORE!
P.S. I have been listening to this song absolutely constantly recently. The lyrics are absolutely awful, but at the same time I cannot stop listening to it. Awesome song overall and without further ado the video. Also, do not mind the video of what it is played to (Avatar: The Last Airbender, an awesome show):
No comments:
Post a Comment