Re: Test first as specification



Laurent Bossavit wrote:

>> Late last yr I proposed the game of Go, where I would write SPEC
>> (using mathematical techniques) for the game, and an XP bod would write
>> TEST as "customer" tests. The premise being that what was specified/
>> omitted/incorrect using either approach could be scrutinised. That one
>> soon went quiet.

> Let's start again... We ended up with the following candidate
> requirements (and a critique of them from me, which never got a
> response) :

> ) Provide a 19x19 board with the ability for two players to exchange
> moves
> 2) Remove captured groups/stones automatically
> 3) Implement end-of-game rule (3 consecutive passes)
> 4) Implement the Ko rule
> 5) Allow default komi editable by player before a game (not during)
> 6) Support setting number of handicap stones
> 7) Support 13x13 and 9x9 board sizes (adjust max handicap accordingly)
> 8) Score the game at the end
> 9) Save game to file (SGF format?)
> 10) Replay game loaded from file (SGF format?)
> 11) Supply estimate of score while game is in progress

Yes. I suggest requirements (REQ) = 1-8, 11.

So we have :

- You to write (in whatever form you see fit) , all the "customer"
tests
you need in order to verify that any submitted impl of the game of
Go conforms to REQ.

- Me to write a spec (in whatever form I see fit) that captures REQ
sufficiently well enough to enable an impl to be devised by a
developer.


1. I suggest deliverables grouped as follows :

1/2/3/4/8, 5/6/7, 11

This way we can see the artifact evolution thru the work activity.


2. We need the same requirements sources (online game rules etc) .
Info not available in those sources is not usable.

3. We need an independent source to hold the deliverables until we
have both finished. I do not want to be unfairly advantaged by seeing
your stuff thus potentially bettering what I might otherwise devise.


It will be interesting to see if I can define the whole thing so a
developer merely has to cut and paste my spec as Design By Contract
artifacts.


Regards,
Steven Perryman

.



Relevant Pages

  • Re: How would you use dual spec?
    ... pure DPS spec and an instance-friendly spec with some points in improved ... I'd use it to switch between a raiding spec such as Frostfire ... no - no need to THINK in this game. ... Now I agree that meaningless barriers in games can be frustrating, ...
    (alt.games.warcraft)
  • Re: How would you use dual spec?
    ... pure DPS spec and an instance-friendly spec with some points in improved ... I'd use it to switch between a raiding spec such as Frostfire ... no - no need to THINK in this game. ... Now I agree that meaningless barriers in games can be frustrating, ...
    (alt.games.warcraft)
  • Re: Which online RPG?
    ... brought up uldaman so i'm going to assume that i played the game far ... people have to spec certain ways to play through the content, ... alts that's the case. ... sitting back and letting your tank or healer run amok, ...
    (comp.sys.ibm.pc.games.rpg)
  • Re: How would you use dual spec?
    ... pure DPS spec and an instance-friendly spec with some points in improved ... no - no need to THINK in this game. ... Hunter have blizzard or sheeping? ...
    (alt.games.warcraft)
  • Re: Death Knights: They stole what makes us special...
    ... As if that would be classed as a hard game! ... I wanted to bore myself to death with that, I'd play Football Manager. ... what spec people are or what their gear is. ... for my group - even with the few heroics that I've done. ...
    (alt.games.warcraft)