Skip to content

smagac/Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API

Messages are to be sent as standard JSON. The method to be invoked is indicated by the "type" field of the json message.

Received Messages

Message Type Parameters
connect appearance: string
id: int
name: string
move x: int
y: int
floor depth: int
dead deadTo: string

Sent Messages

Message Type Parameters
connect appearance: string
id: int
name: string
x: int
y: int
move id:int, x: int
y: int
floor dead: Array[deadTo, x, y], players: Array[id, name, x, y]
disconnect id: int
dead id: int
deadTo: string

Releases

No releases published

Packages

No packages published

Languages