An open API service indexing awesome lists of open source software.

https://github.com/5tarlight/realtimemovement

WebSocket based real time multiplayer
https://github.com/5tarlight/realtimemovement

Last synced: 3 months ago
JSON representation

WebSocket based real time multiplayer

Awesome Lists containing this project

README

        

# RealTimeMovement
Real-time position synchronization system based on WebSocket with Spring Boot.

https://github.com/5tarlight/RealTimeMovement/assets/45203447/9d748927-566f-4788-8405-8b2d58ca9afc

## Features
- Join (random color)
- Move (with arrow keys)
- Quit

## Specs
- Spring Boot (Kotlin)
- HTML + JS
- Node.js (for HTML serving and CORS)
- Browser innate WebSocket

## Can I Use WebSocket?
image

## Run Project
1. Start backend Spring Boot with Gradle
```bash
./gradlew runBoot
```
2. Start frontend Node.js Server
```bash
cd web
node server.js
```
3. Open static HTML document
```
http://localhost:3000
```

## Author
YEAHx4 (5tarlight)