XO
Project · app · 2024
XO is tic-tac-toe in the terminal, written in Python. The human plays X and picks squares by number, 0 to 8, and a computer player plays O. Unit tests cover the game logic, and a shell script simulates whole games automatically.
See also
In the knowledge graph
XO and the 5 things it is linked to. Open any dot for its page, or explore it in the full graph.
As data
Everything on this page is read from triples in the knowledge graph. These are the 18 it states about XO, and 2 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . id:XO a cj:Project ; rdfs:label "XO" ; cj:description "Tic-tac-toe in the terminal against a computer player." ; cj:context id:OpenSource ; cj:repository "https://github.com/AppleBoiy/XO"^^xsd:anyURI ; cj:firstCommit "2024-12-08"^^xsd:date ; cj:lastCommit "2024-12-08"^^xsd:date ; cj:commitCount 1 ; cj:kind "app" ; cj:license "MIT" ; cj:theme id:ThemeAlgorithms ; cj:uses id:Python ; cj:tier 3 ; cj:about id:TicTacToe ; cj:mentions id:TicTacToeWeb ; cj:article "https://ask.chaipat.cc/wiki/XO"^^xsd:anyURI ; cj:activeIn id:Y2024 ; cj:activity _:b182 .