From 31d653c8067dcdb43fee715db34b5ff48f9b99a9 Mon Sep 17 00:00:00 2001 From: bionic85 <144353436+bionic85@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:22:51 +0100 Subject: [PATCH] bababa --- PuzzlePlayer/Binair.cs | 8 ++++++++ PuzzlePlayer/Board.cs | 1 + 2 files changed, 9 insertions(+) diff --git a/PuzzlePlayer/Binair.cs b/PuzzlePlayer/Binair.cs index 9b37ee3..f150864 100644 --- a/PuzzlePlayer/Binair.cs +++ b/PuzzlePlayer/Binair.cs @@ -8,8 +8,16 @@ namespace PuzzlePlayer_Namespace { internal class Binair : Board { + // public int[,] boardState { get; set; } + private int[,] board; + + public Binair(int boardSize) + { + board = new int[boardSize,boardSize]; + } + public static void Generate() { throw new NotImplementedException(); diff --git a/PuzzlePlayer/Board.cs b/PuzzlePlayer/Board.cs index de744f5..f83cf05 100644 --- a/PuzzlePlayer/Board.cs +++ b/PuzzlePlayer/Board.cs @@ -9,6 +9,7 @@ namespace PuzzlePlayer_Namespace { public interface Board { + // interface should have a property to get or set the current boardstate int[,] boardState { get; set; } public abstract static void Solve(); -- GitLab