Skip to content

wilddylan/GameWebSocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameWebSocket

** CODE WAS IN DEVELOPE **

Step 1: CREATE ROOM

[POST] http://localhost:8181/create with json body:

{
	"play": {
		"id": "play-id",
		"name": "play-name",
		"introduce": "play-introduce",
		"main_image": "play-main_image",
		"player_num": 5,
		"steps": [
			{
				"id": "steps-id",
				"name": "steps-name"
			},
			{
				"id": "steps-id2",
				"name": "steps-name2"
			}
			]
	},
	"owner": {
		"id": "user-id",
		"name": "user-name",
		"owner": true
	},
	"id": "123456",
	"lock": true,
	"password": "123456666"
}

Step2: CONNECT WEBSOCKET

connect localhost:8282/echo?token=xxx&roomNumber=123456

About

Scheduler and websocket for game server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages