MCPcopy Create free account
hub / github.com/TheAlgorithms/C / validatePosition

Function validatePosition

games/naval_battle.c:43–97  ·  view source on GitHub ↗

* @brief Function validatePosition * Responsible for checking if the position can receive the boat. * @param mat board * @param boat boat * @param line matrix row * @param column matrix column * @returns if the position is valid */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

positionBoatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected