Code implementation for a one player "triqui" (a.k.a tick tack toe)