Skip to content

Instantly share code, notes, and snippets.

@yurapyon
yurapyon / ttt.lua
Last active June 23, 2016 03:06
tic tac toe
local string = require"string"
local fmt = string.format
--on adding computer player
-- math.random(upper)
-- math.random(lower, upper)
-- ==&== BOARD ==&==
local function new_board()