import { Modal } from '@mui/material'; import { theme } from '../../Data/theme'; import { twc } from 'react-twc'; export const ModalWrapper = twc.div`absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[80vw] h-[85vh] bg-background-default p-4 overflow-scroll rounded-2xl border-none text-text-primary`; type InfoModalProps = { isOpen: boolean; closeModal: () => void; }; export const InfoModal = ({ isOpen, closeModal }: InfoModalProps) => { return (

📋 Usage Guide

There are some controls that you might not know about, so here's a short list of them.

Life counter

  • Tap on a player's + or - button to add or subtract 1 life.
  • Long press on a player's + or - button to add or subtract 10 life.

Commander damage and other counters

  • Tap on the counter to add{' '} 1 counter.
  • Long press on the counter to subtract{' '} 1 counter.

Other

When a player is at or below 0 life, has taken{' '} 21 or more Commander Damage or has{' '} 10 or more poison counters, a button with a skull will appear on that player's card.

Tap on the button to mark that player as lost, dimming their player card.


Visit my {' '} GitHub{' '} for more info about this web app.
); };