\ProvidesPackage{combinatorial-game-theory}[2022/02/10 - Style file for notes of Kombinatorische Spieltheorie]


%General setup
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage{bm}


%% Custom packages
\usepackage{mkessler-vocab}
\usepackage{mkessler-math}
\usepackage{mkessler-enumerate}
\usepackage{mkessler-hypersetup}

%%% Environment setup
\usepackage[number in = chapter]{fancythm}
\NewFancyTheorem[style = thmgreenmarginandfill, group = big]{game}
\NewFancyTheorem[style = thmblackmarginandfill, group = big]{talk}
\NewFancyTheorem[style = thmblackmargin, group = big]{sanity-check}

\AddProvidedFancyTheoremToGroup{remark}{big}


%%% Custom macros for this project

\NewDocumentCommand\nimber{m}{\star#1}
\NewDocumentCommand\nimsum{}{\oplus}
\NewDocumentCommand\gm{m}{\textsc{#1}}
\NewDocumentCommand\Dim{m}{\bm{#1}}
\NewDocumentCommand\fuzzy{}{\parallel}
\newcommand\verticalrule{\rule[-.3pt]{.4pt}{5.5pt}}
\NewDocumentCommand\lfuzzy{}{\mathbin{{<} \kern -.3pt \verticalrule \kern .4pt\verticalrule}}
\NewDocumentCommand\gfuzzy{}{\mathbin{\verticalrule \kern .4pt \verticalrule \kern -.3pt {>}}}

\NewDocumentCommand\DeclareGame{m}{
  \expandafter\NewDocumentCommand\csname #1\endcsname{}{\mathrm{#1}}
}

\DeclareGame{on}
\DeclareGame{off}
\DeclareGame{dud}
