TheGameDevGroup / MiniGames

MIT License
0 stars 0 forks source link

Remove Task from Game.Play #20

Closed TimothyZink closed 1 year ago

TimothyZink commented 1 year ago

Affected Project

Connect4

What is currently being done?

Game.Play runs all of its code inside a Task.

Why should this change?

While using Task might be helpful for working with a UI, this is something the consumer should handle instead.

How can this be improved?

Remove the use of Task from Game.Play and make it run synchronously.

Why should the proposed way be used instead?

No response

What are potential issues with the proposed improvements?

No response

Additional context

No response