DragonFly BSD
DragonFly commits List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/games/bs bs.c


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Jun 2005 13:59:13 -0700 (PDT)

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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]