Revamping WinForms game fun with latest .NET features and cloud
summary
A 20 year old WinForms puzzle gets ported and modernized into a working web multiplayer with concrete details not fluff the old C# game runs in a browser using Blazor WebAssembly the canvas drawing and game logic copy pastes with small fixes GitHub Copilot helps produce the drawing method real time multiplayer arrives via SignalR via Azure backed by Azure Functions + Blob Storage saves and replays moves a single file publish runs on a Raspberry Pi and multiple browsers sync instantly while debug loads ~10.38 MB from cache
AI-written summary · about
chapters (19)
- 0:00Introduction
- 2:07Game origins
- 6:30Game mechanics & WinForms code
- 9:22Why WinForms isn’t ideal for modern apps
- 10:50Porting to JavaScript
- 13:20GitHub Copilot in porting
- 16:53JavaScript limitations
- 17:56Introducing Blazor
- 21:11Blazor WebAssembly benefits
- 23:47Minimizing JavaScript with Blazor
- 26:59HTML and Blazor synergy
- 28:01Multiplayer with SignalR
- 31:15SignalR hub backend
- 32:41SignalR frontend integration
- 36:14Game state with Azure Functions
- 37:38Cloud storage benefits
- 39:27Scaling WebSockets with Azure
- 41:44Local or Pi deployment
- 43:54Summary
related talks
35mBuilding web-based board games only with Ruby
40mLive code a game on the browser with Opal and Vue.js
33mMake a Massively Multiplayer Ruby Game with Dragon Ruby
01h 23mFrom Start to Published, Create a game with Ruby!
25mRuby Game Development with Jemini
01h 42mSoup to Nuts: Build a video game using Ruby!
01h 06mBuilding Games with Ruby
24mPlay with your code
