This quick solution of Tic-Tac-Toe game is built with C# .NetCore in VS 2019 for 2 players
Open the solution in VS2017/VS2019, right-click on solution choose "Restore Nuget packages", rebuild then Ctrl+F5 to launch it inside a windows console.
Follow console instructions to have fun.