cvs commit: src/games/bs bs.c

Sascha Wildner swildner at
Wed Jun 15 14:00:05 PDT 2005

swildner    2005/06/15 13:59:13 PDT

DragonFly src repository

  Modified files:
    games/bs             bs.c 
  1) When randomly placing ships, allow them to be anywhere on the board
     instead of unconditionally restricting the range of the random number
     by the ship's length.
  2) Fix an off by one error in checkplace(). The ship starts on the current
  Fix 1 submitted by: Craig Dooley <xlnxminusx at xxxxxxxxx>
  Revision  Changes    Path
  1.6       +4 -7      src/games/bs/bs.c

More information about the Commits mailing list