Skip to content

Fun showcase of software architecture presented as a game yet inspired by domain driven design.

License

Notifications You must be signed in to change notification settings

RyanNieuwoudt/StarCommander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Commander

Fun showcase of software architecture presented as a game yet inspired by domain driven design.

GitHub


Example

public class WelcomeCaptainAboard : IWhen<PlayerSignedIn>
{
	readonly IPlayerService playerService;

	public WelcomeCaptainAboard(IPlayerService playerService)
	{
		this.playerService = playerService;
	}

	public async Task Handle(PlayerSignedIn @event)
	{
		await playerService.BoardShip(@event.Player);
	}
}

Installation

Prerequisites

Clone

  • Clone this repo to your local machine.

Dependencies

Open a terminal in the folder where the repository is cloned.

dotnet restore

Then type:

cd StarCommander
cd ClientApp
yarn install
cd ..

Run

In the 'StarCommander' sub-folder, type:

dotnet watch run

Open https://localhost:5001 in a web browser.


FAQ

Is Star Commander a game?

No, the game element provides an interesting and well known domain that has no bearing on any real project I have ever worked on. Here, the problem space is...space!


License

MIT License

About

Fun showcase of software architecture presented as a game yet inspired by domain driven design.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published