File size: 805 Bytes
1b79cb3
 
 
 
 
 
7d591ab
1b79cb3
 
7d591ab
1b79cb3
 
 
7d591ab
 
1b79cb3
 
 
7d591ab
 
 
 
1b79cb3
7d591ab
1b79cb3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
```mermaid
---
config:
    flowchart:
        defaultRenderer: elk
---
flowchart LR
interface(Model \n Interface)
model(Chosen Model)
logger("Logger\nget_stockfish_results()")
coordinator(Game \n Coordinator)
database("Game Database \n display_analytics()")

coordinator --model_vs_model(model_1: str, model_2:str)-->interface
coordinator --human_vs_model(model name: str) -->interface

interface --send_move(model_name, UCI_notation) \n returns response-->model

interface --create(model_1: str, model_2: str) \n creates a few logger for each game--> logger
interface --add_legal_move(UCI_notation_of_game: str)-->logger
interface--add_cheat(cheater_name: str)-->logger
interface--add_checkmate(winner_name: str)-->logger

logger --return_formatted_game(game_in_UCI: str, cheat_log: [int])-->database
```