cvs commit: src/games/bs bs.c

Sascha Wildner swildner at crater.dragonflybsd.org
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 
  Log:
  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
     position.
  
  Fix 1 submitted by: Craig Dooley <xlnxminusx at xxxxxxxxx>
  
  Revision  Changes    Path
  1.6       +4 -7      src/games/bs/bs.c


http://www.dragonflybsd.org/cvsweb/src/games/bs/bs.c.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list