rlm@0: (ns rlm.anti-battleship) rlm@0: (rlm.ns-rlm/ns-clone rlm.light-base) rlm@0: rlm@0: rlm@0: rlm@0: rlm@0: rlm@0: "need a board" rlm@0: rlm@0: "need some AI" rlm@0: rlm@0: rlm@0: "for now start off with two players on a rextangular geometry board rlm@0: (each discrete point on the board is a square)" rlm@0: rlm@0: rlm@0: "winning stragety should be to find a point that is known to contain the enemy's ship. rlm@0: then just hit every other point on the map ." rlm@0: rlm@0: "if it's always possible to find such a point, then whatever player goes second rlm@0: will always win." rlm@0: rlm@0: "can the finding of that point be tharwarted by ship layout?" rlm@0: rlm@0: "for certain types of boards/fleets --- YES" rlm@0: rlm@0: "most basic case is just with one ship that is a single point. then rlm@0: it's just blind luck, with the second player having a slight advantage"