Skip to content

Instantly share code, notes, and snippets.

View ig0r-ferreira's full-sized avatar

Igor Ferreira ig0r-ferreira

View GitHub Profile
@ig0r-ferreira
ig0r-ferreira / tic-tac-toe.py
Last active June 21, 2023 00:46
Tic Tac Toe CLI game
import time
import random
ALIGN = 30
DIRECTIONS = [
[(1, 1), (2, 2), (3, 3)],
[(1, 3), (2, 2), (3, 1)],
[(1, 1), (1, 2), (1, 3)],
[(2, 1), (2, 2), (2, 3)],
[(3, 1), (3, 2), (3, 3)],
from datetime import datetime
contracts = [
{
"id": 157289,
"id_cliente": 118801,
"nome": "FULANO DA SILVA",
"data_gerado": "2019-04-30"
},
{