Programming a Chess Game in C# | Part 10 - Game Over Menu I

Опубликовано: 19 Март 2026
на канале: OttoBotCode
4,781
80

Learn how to program a Chess game in C#!

Welcome to part 10 of my C# Chess tutorial.
It's time to add a game over over menu to our Chess game!
The menu displays the winner (or "It's a draw") and whether the game ended because of checkmate, stalemate or something else.
It also contains two buttons which can be used to start a new game or exit the application.
In this video, we define styles, both for this menu, and for some menus we'll add in future parts.
Using these styles, we program the visual layout of the game over menu.
In the next part, we'll make it display the right information and make it appear on screen.

Assets:
https://ottobotcode.com/chess/ChessAs...

Source code is available here:
  / 78701  

Chapters:
0:00 - Plan & Finished Menu
0:38 - Shared Styles
1:05 - Colour Resources
2:18 - Border Style
3:45 - Text Style
5:06 - Button Style
7:30 - Design Game Over Menu
13:28 - Add Event Handlers
14:31 - Plan For Next Part