C
C#3w ago
Jonde

Best way to have a multi-window console app

Im making a simulation of the card game Rook and I would like to have each player and the table as its individual window to follow the gameplay in realtime. What would be the best way to do this? One window can be either a real human being (locally) or a bot. I dont need internet connection, Im doing this locally.
2 Replies
mg
mg3w ago
You'll either need to use a UI framework like winforms or (preferably) WPF or use some kind of IPC
mtreit
mtreit3w ago
You might try a framework like this which allows old-school terminal based UIs including multiple windows, menus, etc. I have not actually used it but the examples show there is a lot of possibilities (scroll down in the README for a bunch of examples of what it can do) https://github.com/gui-cs/Terminal.Gui
GitHub
GitHub - gui-cs/Terminal.Gui: Cross Platform Terminal UI toolkit fo...
Cross Platform Terminal UI toolkit for .NET. Contribute to gui-cs/Terminal.Gui development by creating an account on GitHub.

Did you find this page helpful?