Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 690 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 690 Bytes

Game webflux websocket server demo

Java highload game server demo with netty/webflux reactive features and matchmaking support

Build and run

./mvnw clean verify spring-boot:run

Properties

Server uses spring-boot-web to start http server, therefore - all spring boot properties are available for usage. Custom properties are declared as ApplicationProperties.java.

application.yml:

application:
  room:
    max-players: 2
    loop-rate: 100
    end-delay: 30000
server:
    port: 8080

Html example

Simple html/js example already included as a static web resources, just look at localhost:8080. Click login button and wait for game room and match start