[LRUG] Battleship: Ruby Fight Club

Paul Battley pbattley at gmail.com
Mon Sep 26 04:59:04 PDT 2011


On 26 September 2011 10:59, Daniel Lucraft <dan.lucraft at gmail.com> wrote:
> So just to check I understand from the code: you are told that a battleship
> has been sunk, but NOT the precise location or orientation of the ship.

You're not told explicitly, but you should be able to infer it from a
comparison of the previous and current states.

Paul.



More information about the Chat mailing list