Skip to content

COMP361/f2022-hexanome-01

Repository files navigation

Splendor COMP 361 - Hexanome-01

Quick Setup

Splendor runs on Windows x64 or macOS

Prerequisites

  • Java JDK 14
  • Apache Maven 3.8.6
  • Docker 20.10.17

Clone the repository with the LobbyService submodule

git clone git@github.com:COMP361/f2022-hexanome-01.git
cd f2022-hexanome-01/server
git clone git@github.com:m5c/LobbyService.git
cd ../..

Build and run Docker containers

cd f2022-hexanome-01/server
docker compose up

Download latest client release for your operating system.

For Windows x64

Set the environment variable SPLENDOR_HOST_IP as localhost (or the IPv4 of the device hosting the Docker database/servers).

Unzip the build and run Splendor Client.exe. Hit "Run anyway" if Windows warning shows up.

For macOS

Unzip the build and run the following bash script:

#!/bin/bash
export SPLENDOR_HOST_IP="{ip}"


open -n "{path to app}" &>/dev/null &

Set {ip} to localhost (or the IPv4 of the device hosting the Docker database/servers).

Set {path to app} to the path to the extracted build (e.g. /Users/jeremyeichler/Developer/SplendorComp361/Builds/SplendorGameMac.app)

Authors