place ships function

This commit is contained in:
gnieark 2015-12-16 18:32:48 +01:00
parent f16807d8a8
commit b717a85e53

View File

@ -17,8 +17,9 @@ function is_it_possible_to_place_ships_on_grid($gridWidth,$gridHeight,$nbShipsSi
if( (!isset($longestShip))
OR(($longestShip > $gridWidth) && ($longestShip > $gridHeight))
){
return false:
return false;
}
return true;
}
function get_Post_Params($ccbotsCount){
$keysBots=array('bot1','bot2');