Skip to content

ProMix0/NoughtsCrosses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoughtsCrosses

Simple game realisation for many platforms

...or just noughts-and-crosses based example of use multiple frameworks

Usage

You can inject all game services into you DI container

Manual dependency resolving is not recommended

.ConfigureServices((context, services) =>
        services
            .AddNoughtsCrossesGame(builder =>
                    builder
                        .AddPlayer<AiPlayer>()
                        .AddPlayer<WpfPlayer>()
                        .AddField<OptimizedField>()
                        .AddGame<Game<AiPlayer, WpfPlayer>>(),
                addLoopingService: true)
    )

Then just run your Host

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages