Skip to content

An example of how to use Blazor WebAssembly for creating a rock, paper, scissors game

License

Notifications You must be signed in to change notification settings

kogelnikp/blazor-rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workflow Status

Rock, Paper, Scissors! with Blazor WebAssembly

This is a demo application which shows how to create a simple Rock, Paper, Scissors! game using Blazor WebAssembly. All game logic is run in the browser, which means there is no server side code involved. This repo also contains a GitHub action which automatically deploys the app to GitHub pages.

Demo

https://rockpaperscissors.kogelnikp.eu/

Installation

These tools are required to run the app:

  • .NET Core 3.1 SDK (>= 3.1.300)
  • Browser supported by Blazor WebAssembly (find supported browsers here)

Restore all required NuGet packages with

dotnet restore

Usage

  1. Run the app either in Visual Studio (Code) or using the command line with
cd src
dotnet run
  1. Open the app in your browser on http://localhost:5000/ when using the dotnet CLI or on http:/localhost:62000/ when using IIS Express

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

  • Basic rock, paper, scissors image taken from FreeSVG

About

An example of how to use Blazor WebAssembly for creating a rock, paper, scissors game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published