Skip to content

It uses SpaceShooting game runtime and creates several game instance to be played on internet through realtime communication. Each game instance will be between 2 players

Notifications You must be signed in to change notification settings

SrikanthYashaswi/multiplayer-server

Repository files navigation

basic diagram of data flow to find the staring point, until the full blogpost is out.

game-architecture

Project Structure i followed:

src/main/java
└── com
    └── shrkyash
        └── shootership
            └── gamerunner
                ├── GamerunnerApplication.java
                ├── config
                │   └── GlobalConstants.java
                ├── model
                │   ├── MatchedPlayerGroup.java
                │   ├── User.java
                │   └── UserFrame.java
                ├── pubsub
                │   ├── FrameStreamPublisher.java
                │   ├── FrameStreamSource.java
                │   ├── MessageDispatcher.java
                │   ├── MessageListener.java
                │   ├── UserInputListener.java
                │   └── UserInputSink.java
                ├── repositories
                │   └── UserRepository.java
                ├── services
                │   ├── FrameDiff.java
                │   ├── GameInstance.java
                │   ├── GameInstanceManager.java
                │   └── GameLobbyService.java
                └── utils
                    └── TypeConverter.java

11 directories, 17 files

About

It uses SpaceShooting game runtime and creates several game instance to be played on internet through realtime communication. Each game instance will be between 2 players

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages