jere0015 / NETMinesweeper

1 stars 0 forks source link

Make shared engine interface #25

Open chri06ea opened 2 years ago

chri06ea commented 2 years ago

Both the Test project and the Blazor project, wants to call functions like "StartGame" and "DoMove" etc ... But the Blazor project, needs to send these commands over HTTP requests, whereas the Test Project, calls the engine directly. Implement an interface for the engine with an abstract method "RunCommand"

chri06ea commented 2 years ago

Test line 28

chri06ea commented 2 years ago

Consider putting this interface into a shared library 'MineSweeper.Shared'