Hi Bill,
Thanks for your words of wisdom. I am pretty new to TDD, so this type of
thinking is different. I appreciate what you say about the separation of...
... You might well be right, although there's some room for interpretation. I still think of the controller as to do with mouse events and keypresses, but the...
... 'Tis but another way to say "spike solution". A "spike" is a vertical probe thru area that will someday be layers. From top to bottom, depth-first. When...
... There are teams that are happy with this approach (building higher-level libraries in the test tool language, then programming tests in that language with...
... There are teams that are happy with this approach (building higher-level libraries in the test tool language, then programming tests in that language with...
<If you've seen one of these announcements elsewhere, sorry for the duplication. But there are TDD-specific ideas below.> I'm the program chair for the 10th...
Hi,
I am writing a board game I have devised, but I am stuck. I did a CRC
session on my lonesome and concluded a Board class knew how to create its
layout....
... Hi Nick, I'm not clear on what is holding you back. Does the code work now? Does it satisfy all your current stories? If so, maybe it's OK. If not, one way...
Hi Ron,
> -----Original Message-----
> From: Ron Jeffries [mailto:ronjeffries@...]
> Sent: 08 March 2003 13:01
> To: testdrivendevelopment@yahoogroups.com...
Maybe there is no Board. Perhaps there is Layout and BoardState. Layout is the structure of the game board and BoardState is the current placement of pieces....
... Quite possibly. We know there is no spoon ... Ron Jeffries www.XProgramming.com You are to act in the light of experience as guided by intelligence. --...
Hi,
Having a TeleportSquare simply know the grid location of the destination
could work. When a player lands on the square, the square is notified, and
then...
Hi Dave,
That is another way of thinking of it actually. One reason I kept the board
shape simple to start with was that it wasnt the important part....
... Consider the Strategy pattern, pass in a BoardBuilder... new Board( new SquareBoardBuilder ); new Board( new DiamondBoardBuilder ); To insulate the Board...
... I think if you keep the design good for what it does NOW, refactoring when needed will support new things. Is that the same thing as you are saying, or are...
Hi.
> -----Original Message-----
> From: C. Keith Ray [mailto:ckeithray@...]
> Sent: 08 March 2003 17:39
> To: testdrivendevelopment@yahoogroups.com
>...
If your main goal is to exercise TDD in creating the game, then start with the model -- don't start with the way it looks. Getting the behavior working...
Hi Nick: ... think about ... if ... As Keith mentioned, it is often better to build first one of something and then another (Keith suggested focusing on one...
Nick, ... I too had to write a board game style application recently and I found that it was ok for each square (cell) to not have to know it's position as I...
... Before I continued reading I was aware from my quote, that there were some non-TDD'isms lurking in there... ... Yes. I think when I start to look at doing...
do you want to post your game spec (or just the bit to do with board layout) as a problem for the group to solve? been a while since we did group coding.... ...