This code creates a global object named master
and makes it available for use in other parts of the application.
This code provides a module for interacting with Quake 3 servers, allowing you to connect to master servers to find available game servers and retrieve detailed information about specific servers.
quakejs parsingThis code provides functions to parse various types of responses from a Quake 3 server, extracting information like server details, player lists, and game state.
quakejs utilitiesThis code provides utilities for encoding and decoding out-of-band (OOB) data, a method used to send special instructions or metadata within a network stream.
test quakejs masterThis code acts as a Quake 3 server browser, connecting to a master server to retrieve a list of servers and then scanning each server for detailed information. It logs the server details and scanned information, and handles connection errors by attempting to reconnect.