Giter VIP home page Giter VIP logo

java-chess's Introduction

Java Chess Server

Maven Package

1. What is this Project about

The goal of this project is to provide a Server that can be used to play Chess against other people. This is only the base Server Implementation and has no possibilities to play a local round of Chess. (Maybe later)

2. How do I start the Server

2.1 With the Source

If you have the Source you can simply run it with Maven. When no speciffic Configuration ios needed, you can start it with the following command.

mvn -B exec:java

If you have VS Code and Open the Folder I prepared some Task for you just use CTRL+Shift+B and select mvn:run

When you want to use a specified Configuration for the Server use following command.

mvn -B exec:java -Dexec.args="-c <ABSOLUTE_PATH_TO_CONFIG>"

For this there is no Task in VS CODE. How to create a Configuration you can read here.

2.2 With .jar

To run the JAR just enter following Command line:

java -jar JavaChess.jar [<Options>]

Following Options are available:

  • -h -> to show the Help
  • -c -> to load a own Config

How to create a specified Configuration can be read here.

3. Configuration

To use a Specified Configuration the Server needs to get an .property file. How to use it in specific u can read it in the wiki.

In this case there are Following Options:

Option Description Default
PORT This is the Port for no SSL connections. 8910
SSLPORT This is the Port for SSL connections. This port only plays a role when SSL_CERT_STORE and SSL_CERT_PASSWD is set. 8911
SSL_CERT_STORE This is the Path to the SSL Certificate. If Set the Server uses the SSLPORT as valid connection.
SSL_CERT_STORE_PASSWD This is the Password for the SSL Certificate. If Set the Server uses the SSLPORT as valid connection.
CONSOLE_START Currently not Used
TIMEOUT_TIME The time, in seconds, a Player/KI has to make a Move. 10

java-chess's People

Contributors

xandor98 avatar

Stargazers

Jonas avatar

java-chess's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.