From faaf84c421257b39e86ae856153ceb336f88e8b1 Mon Sep 17 00:00:00 2001 From: "jules.lascret" Date: Tue, 7 May 2024 18:37:16 +0200 Subject: [PATCH] modif IRules.cs --- Qwirkle/QwirkleClassLibrary/IRules.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Qwirkle/QwirkleClassLibrary/IRules.cs b/Qwirkle/QwirkleClassLibrary/IRules.cs index 4d0456e..75d47a4 100644 --- a/Qwirkle/QwirkleClassLibrary/IRules.cs +++ b/Qwirkle/QwirkleClassLibrary/IRules.cs @@ -9,7 +9,11 @@ namespace QwirkleClassLibrary public interface IRules { Board CreateBoard(); - bool IsMoveCorrect(Tile t, Board b); + + TileBag CreateTileBag(int nbSet); + + bool IsMoveCorrect(Tile t, int x, int y, Board b); + bool IsGameOver(); } }