Skip to content

JustinWilkinson/SixNimmt

Repository files navigation

SixNimmt

An online game inspired by the popular card game 6 Nimmt!, implemented using Blazor WebAssembly.

Code

SixNimmt.Client

A client-side Blazor WebAssembly application, which communicates with the server over HTTP and SignalR.

SixNimmt.Server

A Blazor Server project with API Controllers to serve client requests, and a SignalR Hub to push changes to connected clients.

SixNimmt.Shared

A project containing abstractions shared between the client and the server.

SixNimmt.Test

An NUnit Test project containing tests for the solution.

Hosting

  • SixNimmt is an ASP.NET Core Hosted Blazor WebAssembly application.
  • .NET Core is cross platform, so can be hosted on Linux or Windows.
  • Steps for hosting ASP.NET Core applications can be found here.

Docker Support

  • For hosting the application in a docker container, either:
  • Build your own container using the below commands
    • To build the docker container run cd into the solution root folder, and run the following command: docker build -t sixnimmt .
    • The container can then be run using the following command docker run -p 8080:80 sixnimmt. Here, port 8080 on the host is mapped to port 80 in the container - this can be amended to taste.
  • Download/Pull an existing image
    • The latest docker image is available from GitHub.