BURGER KING
Strawberry small $2.52 Cdn
Awesome!!
and... surprise when I check at home,
a mere 60 calories.
Friday, June 27, 2014
Wednesday, June 25, 2014
Monday, June 16, 2014
More Scramble
Been working on the other parts of the Scramble pset. The draw function is
straightforward enough, once one gets the ingenuity of placing the character in the
column loop. The other aspects just happen because the program has asked
for the initialize function in main. Draw then takes over to actually make things
appear. ( In fact, all this is eerily familiar, because this is the way XNA GameStudio
works. Now I get it...)
There is also a SCRAMBLE function to be defined. The idea is that the player can call
on this if he can't see any more words in the grid as it is presented. I have a working scramble, but not the one called for. Mine reverses the letters line by line; have yet to perform a true matrix flip,
which involves a vertical move at the same time. Tricky!
straightforward enough, once one gets the ingenuity of placing the character in the
column loop. The other aspects just happen because the program has asked
for the initialize function in main. Draw then takes over to actually make things
appear. ( In fact, all this is eerily familiar, because this is the way XNA GameStudio
works. Now I get it...)
There is also a SCRAMBLE function to be defined. The idea is that the player can call
on this if he can't see any more words in the grid as it is presented. I have a working scramble, but not the one called for. Mine reverses the letters line by line; have yet to perform a true matrix flip,
which involves a vertical move at the same time. Tricky!
Sunday, June 15, 2014
Scramble Mambo
CS50 Week 3 problem set requires that one complete the code on a largely done
Scramble game. One of the TODOs is the lookup function, where the dictionary
is checked to see if it contains the player's word, thus enabling score points.
I have found, on the net, various implementations of this function that are
incomplete. In effect, the function as defined below never returns true, and blocks
points.
The remedy I am proposing uses the string compare fuction. In effect, there are two iterations
going on here: one through the words in the dictionary, and another within words, through
each character. The computer won't iterate if one doesn't tell it to!!
Scramble game. One of the TODOs is the lookup function, where the dictionary
is checked to see if it contains the player's word, thus enabling score points.
I have found, on the net, various implementations of this function that are
incomplete. In effect, the function as defined below never returns true, and blocks
points.
The remedy I am proposing uses the string compare fuction. In effect, there are two iterations
going on here: one through the words in the dictionary, and another within words, through
each character. The computer won't iterate if one doesn't tell it to!!
HAPPY FATHER'S DAY!
Thursday, June 5, 2014
Wednesday, June 4, 2014
Monday, June 2, 2014
Subscribe to:
Posts (Atom)