Skip to main content

naughts and crosses game

Project description


A naughts & crosses game.

note: requires python version >= 3.6


To install run command:

python3 -m pip install --user --upgrade oxo_pkg

if installing from TestPyPi run:

python3 -m pip install --user --index-url oxo_pkg


oxo can either by ran as a commandline script or as a python package ran in the Python3 REPL.

- Run in python REPL :

Open the python3 REPL


import and run the package

>import oxo_pkg


- Run in commandline :

run oxo in a commandline terminal.

run locally :

run python3 ./oxo from project home directory.


See below text:

here is a list of accepted arguments: 
    --hard     :  activates hard-mode
    --s-hard   :  activates super-hard-mode
    --version  :  show current version number
    --help     :  show help options

To see these at any point run oxo --help


try which oxo

This should print something like /Users/your.username/Library/Python/3.7/bin/oxo

If not find the equivalent location in your filesystem (where pip installs applications to), check that oxo binary file is present, & add the location to your PATH.


from project home directory run

python3 -m unittest test.test_methods.TestMethods


python3 -m pip install --user --upgrade setuptools wheel (install / update wheel & setuptools)

python3 sdist bdist_wheel

Produces a .whl built distribution & a tar file of the source code in dist/ directory.

To install the locally built version run python3 -m pip install --user --upgrade dist/*


Increment release number in oxo_pkg/resources/ file.

Make sure the latest version is built with above build step.

Upload the build with twine:

python3 -m pip install --user --upgrade twine (install / update twine)

python3 -m twine upload dist/*

To upload to TestPyPi run:

python3 -m twine upload --repository-url dist/*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for oxo-pkg, version 2.1.1
Filename, size File type Python version Upload date Hashes
Filename, size oxo_pkg-2.1.1-py3-none-any.whl (8.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size oxo_pkg-2.1.1.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page