Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 3af35cb7 rédigé par Gerson Sunyé's avatar Gerson Sunyé
Parcourir les fichiers

fix: add todo list to fence placement function

parent 9a509077
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -19,7 +19,13 @@ import { isMovePossible } from "./movement-validation"; ...@@ -19,7 +19,13 @@ import { isMovePossible } from "./movement-validation";
*/ */
export function isFencePlacementPossible(gameBoard: GameBoard, start: Position, end: Position): boolean { export function isFencePlacementPossible(gameBoard: GameBoard, start: Position, end: Position): boolean {
// #TODO: Implement this function /*
#TODO: Implement this function
This function should check that:
- the positions start and stop are valid
- there is no intersection with other fences
*/
return true; return true;
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter