An open API service indexing awesome lists of open source software.

https://github.com/marcel0024/exampleiogame

Example of an .io game in .NET 8 & Angular 17
https://github.com/marcel0024/exampleiogame

angular dotnet dotnet7 io-game

Last synced: 6 days ago
JSON representation

Example of an .io game in .NET 8 & Angular 17

Awesome Lists containing this project

README

        


.NET logo
Angular logo

An Example .io Game



https://example-io-game.azurewebsites.net/



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](https://github.com/vzhou842/example-.io-game), 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,

```bash
$ cd src/client
$ npm install
$ npm start
```

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

```bash
$ cd src/server
$ dotnet run
```

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