Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi,

Let me start by saying this is a cool repo!

I have a simple and cool console app and would like to run it in the browser similar to what you are doing with the "Play Now" buttons. I looked through the repo but couldn't find the answer on how to do this. I would appreciate any pointers on how to deploy the console app to run on the browser.

Thanks

You must be logged in to vote

Replies: 1 comment

Comment options

Howdy @fdmomtaz,

The "Play Now" buttons from the README.md link to GitHub Pages for which the source is set to the github-pages branch in this repository. When the main branch is pushed to there is a GitHub Action, Website Deploy.yml, that builds the Website project and force pushes the build output into the github-pages branch. Website is a Blazor Webassembly project that contains ports of all the console games. The process of porting the code from Console Application to Blazor Webassembly is currently a manual process I perform, although making a code generator is definitely possible; see #23. In the Website project there is BlazorConsole.cs that contains reimplementations of most of the members of System.Console to work in Blazor Webassembly so the majority of the porting process is a simple copy and paste.

TLDR: see the Website project for the source code of the web implementations

Hopefully that helps. :) Feel free to ask additional questions.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.