UNPKG

discord-tictactoe

Version:

A modern Discord Bot for playing Tic-Tac-Toe

14 lines (13 loc) 279 B
import Entity from '../tictactoe/Entity'; export type EventTypes = { newGame: (data: { players: Entity[]; }) => void; win: (data: { winner: Entity; loser: Entity; }) => void; tie: (data: { players: Entity[]; }) => void; };