Re: Test first as specification



Steven,

> 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

Laurent
.



Relevant Pages

  • Arthur Thacker, man of bollox
    ... as I reveal the Arthur Thacker Top 50 Greatest Footballing Moments Ever. ... Leeds, under the guidance of Don Revie, were the Manchester United of their day - cunts who won everything and played the dirtiest kind of football you could imagine. ... Instead of watching the game, cameras turned their attention to the scrap as it gathered momentum. ... Other players then came into the fray - most notably Norman Hunter with a broken bottle and Tommy Smith with a crowbar that he used to keep down his sock. ...
    (uk.sport.football.clubs.liverpool)
  • Rules FAQ
    ... tournament players and organizers chapter 6. ... The game is played on a grid board. ... intersections, ... The first player uses black stones, ...
    (rec.games.go)
  • Rules FAQ
    ... tournament players and organizers chapter 6. ... The game is played on a grid board. ... intersections, ... The first player uses black stones, ...
    (rec.games.go)
  • Rules FAQ
    ... tournament players and organizers chapter 6. ... The game is played on a grid board. ... intersections, ... The first player uses black stones, ...
    (rec.games.go)
  • Rules FAQ
    ... tournament players and organizers chapter 6. ... The game is played on a grid board. ... intersections, ... The first player uses black stones, ...
    (rec.games.go)