logo       

Laser game tutorial again: msg#00112

lang.smalltalk.squeak.beginners

Subject: Laser game tutorial again


I have tried very hard to sort this out but now I think I need help. At lease
I'm getting to know the debugger.

The relavent page is: http://squeak.preeminent.org/tut2007/html/022.html

Here are two file outs:
http://www.nabble.com/file/p11721901/Laser-Game-Model.st Laser-Game-Model.st
http://www.nabble.com/file/p11721901/Laser-Game-Tests.st Laser-Game-Tests.st

I'm getting three errors with the Test Runner. It would seem that a
BlankCell object doesn't understand the message exitSides:
Or do I actually. It looks like it should be:

initializeExitSides
self exitSides := Dictionary new.

not
initializeExitSides
self exitSides: Dictionary new.

Is this another way to do assignment? Anyway it's not working and that's how
the tutorial says to do it.

I'm really curious to what the problem is. Can anyone enlighten me?
--
View this message in context:
http://www.nabble.com/Laser-game-tutorial-again-tf4121699.html#a11721901
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise