MCPcopy Create free account
hub / github.com/code100x/chess / removeGame

Method removeGame

apps/ws/src/GameManager.ts:48–50  ·  view source on GitHub ↗
(gameId: string)

Source from the content-addressed store, hash-verified

46 }
47
48 removeGame(gameId: string) {
49 this.games = this.games.filter((g) => g.gameId !== gameId);
50 }
51
52 private addHandler(user: User) {
53 user.socket.on('message', async (data) => {

Callers 1

addHandlerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected