Skip to content

Instantly share code, notes, and snippets.

@a12x
a12x / tictactoe.cpp
Last active July 10, 2017 21:00
tic tac toe
#include <iostream>
#include <iomanip>
#define BINARY(x) 0b##x
const short UPPER_LEFT = BINARY(100000000);
const short FULL_BOARD = BINARY(111111111);
const short HORIZ_0 = BINARY(111000000);