GithubHelp home page GithubHelp logo

juanmbellini / game_rooms Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 65 KB

Second part of the Advanced Techniques in Videogames course project

Java 100.00%
akka akka-http akka-actors video-game multiplayer-game infraestructure

game_rooms's Introduction

Game Rooms Build Status

Second part of the Advanced Techniques in Videogames course project.

Getting started

These instructions will install the system in your local machine.

Prerequisites

  1. Install Maven:

    Mac OSX

    $ brew install maven
    

    Ubuntu

    $ sudo apt-get install maven
    

    Other OSes

    Check https://maven.apache.org/install.html.

  2. Clone or download source code:

    $ git clone https://github.com/juanmbellini/game_rooms.git
    

    or

    $ wget https://github.com/juanmbellini/game_rooms/archive/master.zip
    

Build

  1. Change working directory to project root:

    $ cd game_rooms
    
  2. Install project modules:

    $ mvn clean install
    
  3. Create jar files:

    $ mvn clean package
    

Usage

The system can be run executing the built jar. Run the following command in the console:

$ java -jar <path-to-jar>

If nothing was changed in the pom.xml file, and the output directory is the default, the path to the jar will be <PROJECT-ROOT>/target/game-rooms-1.0.0.RELEASE.jar, so the way to run the system is:

$ java -jar <PROJECT-ROOT>/target/game-rooms-1.0.0.RELEASE.jar

You can customize the execution of the system including some options. The following sections will explain them.

Printing usage message

To print the usage message, include the -h or --help options. For example:

$ java -jar <PROJECT-ROOT>/target/game-rooms-1.0.0.RELEASE.jar --help

Selecting the http server hostname

To select the server hostname (i.e the binding address), include the -H or --host options. You can use an IP or a name (for instance, localhost). For example:

$ java -jar <PROJECT-ROOT>/target/game-rooms-1.0.0.RELEASE.jar -H 192.168.1.10

The default value is localhost.

Selecting the http server listening port

To select the server port, include the -p or --port options. You can set it to 0 to let the operating system choose for you. For example

$ java -jar <PROJECT-ROOT>/target/game-rooms-1.0.0.RELEASE.jar -H 192.168.1.10 -p 8000

The default value is 9000.

REST API

The system exposes a REST API through which you can communicate. Please refer to the Endpoints file to learn how to operate with it.

Author

game_rooms's People

Contributors

juanmbellini avatar

Watchers

 avatar  avatar

Forkers

mengtest

game_rooms'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.