The complete walk-through tutorial about this implementation, I've published blog post here:
Create interactive game with Spring Boot and WebSocket
The goal is to design and develop an interactive game by using Spring boot and WebSocket.
Spring Boot
WebSocket
for getting changes and refreshing game boardMongoDB
for persisting the Game informationHTML and js
for providing simple UI and calling rest serviceDocker
for containerization of servicesDocker-Compose
to link the containers
First, you should build and package jar file with Maven. Then, I provided a docker file, so you should create an image. Finally, by the docker-compose file, you can launch it. Via the home page (https://localhost:8080/) you can access to the game UI.