Skip to content

mertcanekiz/tictactoe-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tictactoe-api

A RESTful API written with .NET 5 that acts as the backend server for a TicTacToe game client. Project is structured using the Clean Architecture. Code is written with SOLID, DRY, YAGNI, KISS principles in mind and uses Design Patterns wherever applicable.

Technologies Used

  • .NET 5
  • CQRS (using MediatR)
  • Domain Driven Design
  • MongoDB
  • ASP.NET Core Identity with JWT authentication
  • FluentValidation
  • Docker


Game Features

  • Users can create a game with the following game types:
    • Singleplayer: One user makes moves for both sides, can be also used for IRL multiplayer
    • Against AI: User can select a difficulty level (Random or Hard), and play against the computer. The random AI algorithm simply chooses a random empty tile to play, whereas the Hard algorithm uses the Minimax algorithm to make the most optimal move.
    • Against Human: One user creates a game, and another one joins that game. Afterwards, they can each make moves in turn.

About

A TicTacToe API written with ASP.NET Core

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors