Code Monkey home page Code Monkey logo

java-game-server's Introduction

Note New version of Jetserver is called Nadron and is in a new netty 4 branch of this same repo.
JetServer is a java nio based server specifically designed for mutliplayer games. It supports UDP and TCP transports. It uses Netty for high speed network transmission and Jetlang for extremely fast in-vm message passing between player sessions and game rooms. The project also uses spring for its dependency injection. This way, it is highly configurable and you can swap out any part of the server with your own implementations.

Wiki

The wiki provides implementation level details and answers to general questions that a developer starting to use jetserver might have about it. The following blog has post on game creation. Support Group

For general discussion please use the jetserver google group. Issues and bugs can be raised directly in github. Installation

Maven

<dependency>
    <groupId>com.github.menacher</groupId>
    <artifactId>nadron</artifactId>
    <version>0.5</version>
</dependency>

From Source

Using pre-built jar files

The pre-built jar files of this project are located in the jetserver/binaries directory. All dependant jars are located in the jetserver/lib directory. You can just add them to your classpath in your favorite IDE and start coding. If you want to compile from source, then follow steps below.

With Maven and using Eclipse

Pre-requisites: Please have maven 3+ and Spring source tool suite or eclipse installed. If you are using plain vanilla eclipse, then M2Eclipse and EGit plugins though not required will be helpful. If you are using another IDE then the maven-eclipse plugin part in the pom.xml needs to be modified.

Steps

  1. git clone [email protected]:menacher/java-game-server.git
  2. cd java-game-server
  3. cd jetserver
  4. mvn eclipse:eclipse - Takes time, the first time! If you want to reduce this time, then comment out include sources/jars option from the maven pom.xml eclipse plugin part.
  5. eclipse -> file -> import -> git -> select repository and import jetserver project.
  6. jetserver project in eclipse -> right click on pom.xml -> run as -> maven test - Takes time the first time!

If everything works as expected you should see some test cases executed successfully!

With Ant

If you are using ant, then the lib folder within the jetserver project contains all the dependent libraries. Just right click and run ant build and it will create the jetserver jar.

Happy coding!

java-game-server's People

Contributors

endercool39 avatar menacher avatar

Watchers

 avatar  avatar

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.