December 18, 2008, 12:29 am by the Prof
All grades have been posted. Do e-mail me directly if you have any questions about your grade breakdown. You were a fantastic class — I hope you enjoyed taking the course as much as I did teaching it (and coming up with labs). Good luck with everything, and have a great break!
December 1, 2008, 7:48 pm by the Prof
December 1, 2008, 2:45 pm by the Prof
Download the slides here.
December 1, 2008, 2:44 pm by the Prof
Download the slides here.
November 21, 2008, 12:21 pm by the Prof
Mirrored here from http://www.hasbro.com/. And here’s the scoresheet I handed out in class.
November 21, 2008, 2:00 am by the Prof
November 19, 2008, 1:27 am by the Prof
Download the slides here.
November 8, 2008, 11:40 am by the Prof
November 7, 2008, 10:23 am by the Prof
The code we went over in class to simulate the game of Blackjack can be found at http://github.com/michaelee/cs105/tree/master/examples/lect20_blackjack.rb. Instead of removing the programming shortcuts (a.k.a. “syntactic sugar”) I use in the uploaded code, I’m attaching a small section of the code in this post with comments to help you understand and perhaps use them in your own programs:
Continue reading ‘Simulating Blackjack’ »
November 6, 2008, 10:10 pm by the Prof