dotnet / dotnet/dotnet-console-games
`Website` code generator for porting console games to blazor webassembly
- Dominant language
- C#
- Stars
- 1k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
Currently the process of porting console to blazor webassembly is a manual process. For the most part you just copy-paste the console code into the Website project and add `public readonly BlazorConsole Console = new();` and `await` in front of the `Console` member invocations. This should be easy to make a code generator for.
If there are any changes to the console games, it requires the same change be applied to the ports. However, if the ports were generated, we could just make any changes to the original console games and the generator would carry over any changes to the ports automatically.
A source generator would be good for this topic. :)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.