Skip to content

Instantly share code, notes, and snippets.

View stissoni's full-sized avatar
🎯
Focusing

Santiago Tissoni stissoni

🎯
Focusing
  • Buenos Aires
View GitHub Profile
@stissoni
stissoni / ttt.c
Created May 7, 2020 06:32 — forked from MatthewSteel/ttt.c
Minimax (full tree search) tic-tac-toe AI in C
//Tic-tac-toe playing AI. Exhaustive tree-search. WTFPL
//Matthew Steel 2009, www.www.repsilat.com
#include <stdio.h>
char gridChar(int i) {
switch(i) {
case -1:
return 'X';
case 0: