Skip to main content

Tools for architecture for HPS games

Project description

This library contains modules for developing the platform for the games played in CSCI-GA 2965, Heuristic Problem Solving with Prof. Dennis Shasha at NYU.

The following modules are available:

  1. servers

    The servers package contains a Python 3 server classes that can use either sockets or ZeroMQ for trasportation of messages. Both servers support sending and recieving of large messages and sending to one or all clients.

  2. clients

    The clients package contains clients for the server in a few languages. They all implement the similar interface. Currently, Python 3, C++ and Java clients are implemented. See the clients/README.rst for details on the clients.

See the docs directory for the API documentation for all the modules and classes.

Installing

To install the server module, run

pip install --user hps-nyu

This will install the package in the current user’s home directory, and does not require root access. It can now be imported directly into your Python script.

To import a particular server class, use from hps.servers import <ServerClass>.

For installing clients, see the README.rst file in the individual client directories.

Contributing

We hope that this can be ever growing library for the course. Please feel free to send in pull requests with bug fixes, new features or even entirely new modules that may be relevant for the course.

Project details


Download files

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

Source Distribution

hps-nyu-1.0.0.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file hps-nyu-1.0.0.tar.gz.

File metadata

  • Download URL: hps-nyu-1.0.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hps-nyu-1.0.0.tar.gz
Algorithm Hash digest
SHA256 db39d793c654143d9128e266d50441b31afedcf33dc708e00166f6517aba6d0d
MD5 df6b4b429924080e40c5ee9d99091213
BLAKE2b-256 fa29c2667a3759629e2bb205e1a0dc03d85dd537efac70e863ad416016adc98b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page