Skip to main content

Singleplayer Riichi Mahjong Game

Project description

Riichi Royale

Team "The One Cow" for Fall 2020 Performant Programming in Python

Getting Started

This getting start guide assumes you are running either Arch Linux or Ubuntu (whether standalone or within WSL).

Install the following dependencies:

  • git

  • cmake

  • clang (or clang-10 if on Ubuntu < 20.04LTS)

Clone the repository:

git clone git@github.com:HartleyAHartley/RiichiRoyale.git

Run the following commands within the project directory:

# Install python dependencies locally
pip install --user -r requirements.txt

# Create build directory for cmake
mkdir build/

# Bootstrap CMake Environment
cmake -S . -B build

# Or bootstrap CMake with tool building enabled
cmake -S . -B build -DPACKAGE_TOOLS=ON

# Or, if wanting to use Clang

C=clang CXX=clang++ cmake -S . -B build

# Build Project
cmake --build build

# Run Project
python setup.py develop --user
python riichiroyale

Testing and Documentation

The python test suite is located in test/ and can be run with python test

The C++ test suite is located in cxxtests/ and can be run with make -C build check

Good Resources

DocDevs Mirror of Pygame Documentation: Standard Pygame API Docs. Pygame has a ratelimiter on their website of 50 visits per hour, which is very annoying while developing.

Pygame Example Projects: Great showing of how everything in pygame pieces together.

Pybind11 Docs: The documentation for pybind11, which is what we use for building the C++ python module.

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

riichiroyale-0.1.8.tar.gz (2.1 MB view details)

Uploaded Source

File details

Details for the file riichiroyale-0.1.8.tar.gz.

File metadata

  • Download URL: riichiroyale-0.1.8.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for riichiroyale-0.1.8.tar.gz
Algorithm Hash digest
SHA256 7d0cc51c388386d6e3a1a91dba1b5a0ce0d2b42a7f4121c6d24aa193fdaa9cb2
MD5 d088b1e198ef4716fda4fa207f2c428b
BLAKE2b-256 843a8bda237d2d9c69133fa9330c0c36334c79592ec0a63acb46f3dd386c6d0d

See more details on using hashes here.

Supported by

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