UNPKG

discord-battleship

Version:

Create and handle advanced versions of the old classic game, BatlleShip!

37 lines (36 loc) 837 B
import { GuildMember, MessageCollector } from "discord.js"; export default interface Game { collector: MessageCollector | null; member: GuildMember; playerHitBoard: { data: string; ship: string; cords: { letter: string; number: number; cord: string; }; }[][]; playerShipBoard: { data: string; ship: string; cords: { letter: string; number: number; cord: string; }; }[][]; gameChannel: string; placedBoats: { name: string; length: number; hits: number; sunk: boolean; }[]; gameMessages: { start: string; hits: string; boats: string ; }; ready: boolean; }