-
未來擴充性
-
TDD
-
Dependency Injection
-
Fluent API
-
LeedCodeLab資料夾為主要程式專案 , LeetCode.Tests為Test專案 , CommonUtils為共用Library
-
主程式架構我將此問題解決方式抽象為一個角色在走棋盤,預留的未來延伸可能為可以加入更多有不同行為的角色,有不同的走動行為
-
專案為.Net Core 3.1.2
-
Step 1. install the packages: dotnet restore
-
Step 2. run the application: LeetCodeExam\LeetCodeViaDotNet\LeetCodeLab >> dotnet run
-
Step 3. run the test: LeetCodeExam\LeetCodeViaDotNet\LeetCode.Tests >> dotnet test