Skip to content

Marcel0024/ExampleIOGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET logo Angular logo

An Example .io Game

Build Status

This repository contains a multiplayer (.io) web game, developed using .NET 8 and Angular 17.

The original game was developed by Victor Zhou, using Javascript and Node.js. In this version, we've transitioned to C# for server-side logic and Typescript for the client side.

One of the significant changes in this version is the implementation of the Composite Design Pattern. Instead of using separate arrays for each game object type, we've simplified the structure to use a single, unified array.

Running it locally

To get started with the client, make sure you have Node and NPM & Angular installed. Then,

$ cd src/client
$ npm install
$ npm start

Then to get the .NET app started, make sure you have .NET sdk installed.

$ cd src/server
$ dotnet run

Now you can navigate to http://localhost:4200/