Collaborators: Daksh Jotwani, Nidhi Mundra
Windows
gradlew clean
gradlew build
Unix
./gradlew clean
./gradlew build
Windows
gradlew clean
gradlew fatJar
Unix
./gradlew clean
./gradlew fatJar
java -jar {jar-file-path} 1 {port-number}
java -jar {jar-file-path} 0 {config-json-file-path}
- Start N Pig Servers.
(on N unique ports if running on the same machine) - Specify each Pig Server's Host (IP Address / domain name) and port in a configuration JSON file.
(Sample configuration JSON file is here.) - Specify the network of peers in the configuration JSON file.
- Start one Game Server.
- Your game is now running.
Copyright 2017 Daksh Jotwani, Nidhi Mundra
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.