In any case, there is a little number guess game in vol 2 of the Elegant Objects. It's in Java, and I "translated" it into PHP, started adding unit tests, and supplying the missing interfaces.
Results so far, here: https://github.com/iCaspar/numberguess-oop