Skip to content

Instantly share code, notes, and snippets.

View emildoychinov's full-sized avatar

Emil Doychinov emildoychinov

  • Sofia, Bulgaria
View GitHub Profile
@emildoychinov
emildoychinov / ttt.c
Created January 22, 2021 10:48
A simple console Tic Tac Toe game with an AI using the minimax algorithm
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include <stdbool.h>
#include <time.h>
#include <math.h>
#define f_size 10
typedef struct ttt{
int pos;