Spent most of today working on my Scheme / Racket presentation that I'll be giving at MUG in July. So no major progress to report.
read moreDay 22/100: Still more Shut the Box
Did a little more development with Scheme / Racket and Shut the Box. I fixed a few bugs in the previous implementation where you could remove tiles by flipping unflipped tiles before the flipped tiles are checked. I also put in a check so that the tiles that are flipped set …
read moreDay 21/100: Slow progress
More progress on the Shut the Box program in Racket.
Still need to figure out how to get everything together, but at least it's starting to make some sense.
read more#lang racket #| Init Block |# (define tiles '()) (define die1 0) (define die2 0) (define turn-number 1) (define (start-game) (set! tiles '(1 2 …
Day 20/100: Continued Shut the Box
Still working on the Shut the Box program in Scheme / Racket, and I'm getting stuck.
I know that mutable global values are bad (m'kay) but I'm not sure how to pass the values along in some meaningful way. Perhaps it's all of the years of object oriented programming shining through …
read moreDay 19/100: Reading...
Did some reading of "Secrets of the JavaScript Ninja" and played more with the Shut the Box code in Racket to try to sectionalize it off properly. Will post more code tomorrow when I have more to show.
read more