Skip to main content

noughts-and-crosses

Simple socket/console game implementation.

https://travis-ci.org/tkoomzaaskz/noughts-and-crosses.png?branch=master https://badge.fury.io/py/nac.svg

dependencies & installation

Works under python version: 2.6, 2.7. No additional dependencies. Install package with pip:

$ pip install nac

overview

This repository holds a python package implementing a simple socket game, Noughts and Crosses.

First you shall run the server, and then the client:

$ ./nac/server.py
$ ./nac/client.py

You will see the game board represented by few console lines:

(0)|(1)|(2)
---+---+---
(3)|(4)|(5)
---+---+---
(6)|(7)|(8)

Enter the position you want to put your mark:

Your move: 0

 X |(1)|(2)
---+---+---
(3)|(4)|(5)
---+---+---
(6)|(7)|(8)

The server is ‘X’ and the client is ‘O’.

Metadata

Release files for nac 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nac 0.1.0
File Size Uploaded Provenance Actions
nac-0.1.0.tar.gz 3.0 kB Without provenance Details for nac-0.1.0.tar.gz

Release files / nac-0.1.0.tar.gz

Download URL nac-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f8adc93907e8b17b5f9ae89cbbd64c0ba39a9c132eb95218e6180c330b481cd1
BLAKE2b-256 checksum
How to use checksums
cb767fc4717344861f8e99d651925fd0c2068ae6deff0185c165ba847b649676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for nac 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page