This repository has been archived on 2024-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
2024-04-02 21:57:04 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-04-02 23:14:34 +08:00
|
|
|
|
namespace CDSAE3_Lian_Lian_Kan.Boards
|
2024-04-02 21:57:04 +08:00
|
|
|
|
{
|
|
|
|
|
internal interface IBoard
|
|
|
|
|
{
|
|
|
|
|
public int[,] make_board();
|
|
|
|
|
public int[,] remake_board();
|
|
|
|
|
public (bool, List<(int, int)>?) test((int, int) a, (int, int) b);
|
|
|
|
|
public void decrease(params (int, int)[] poss);
|
2024-04-02 23:14:34 +08:00
|
|
|
|
public List<List<(int, int)>> get_tip((int, int) start);
|
|
|
|
|
public (int, int) size { get; set; }//width,height
|
2024-04-19 10:00:37 +08:00
|
|
|
|
public (int, int) GetRandomBlock();
|
2024-04-02 21:57:04 +08:00
|
|
|
|
}
|
|
|
|
|
}
|