diff --git a/components/Card.tsx b/components/Card.tsx
index 2e4017b..fa6365a 100644
--- a/components/Card.tsx
+++ b/components/Card.tsx
@@ -3,6 +3,7 @@
import ToolTip from '@/components/ToolTip';
import tarokkaCards from '@/constants/tarokkaCards';
import getCardInfo from '@/tools/getCardInfo';
+import getURL from '@/tools/getURL';
import { Layout, Settings, TarokkaGameCard } from '@/types';
@@ -17,7 +18,7 @@ type CardProps = {
};
export default function Card({ dm, card, position, settings, flipAction }: CardProps) {
- const { aria, flipped, url } = card;
+ const { aria, flipped } = card;
const handleClick = () => {
if (dm) {
@@ -50,10 +51,18 @@ export default function Card({ dm, card, position, settings, flipAction }: CardP
className={`transition-transform duration-500 transform-style-preserve-3d ${flipped ? 'rotate-y-180' : ''}`}
>
-

+
-

+
diff --git a/components/Settings.tsx b/components/Settings.tsx
index d91d584..96dcc43 100644
--- a/components/Settings.tsx
+++ b/components/Settings.tsx
@@ -5,13 +5,15 @@ import { Settings as Gear, X } from 'lucide-react';
import CopyButton from '@/components/CopyButton';
import Switch from '@/components/Switch';
-import { GameUpdate } from '@/types';
+import { CardStyle, GameUpdate } from '@/types';
type PermissionTogglePanelProps = {
gameData: GameUpdate;
changeAction: (updatedSettings: GameUpdate) => void;
};
+const cardStyleOptions: CardStyle[] = ['standard', 'color', 'grayscale'];
+
export default function PermissionTogglePanel({
gameData,
changeAction,
@@ -28,6 +30,16 @@ export default function PermissionTogglePanel({
});
};
+ const tuneRadio = (cardStyle: CardStyle) => {
+ changeAction({
+ ...gameData,
+ settings: {
+ ...gameData.settings,
+ cardStyle,
+ },
+ });
+ };
+
return (
{!open && (
@@ -49,9 +61,38 @@ export default function PermissionTogglePanel({
- {Object.entries(gameData.settings).map(([key, value]) => (
-
togglePermission(key)} />
- ))}
+ {Object.entries(gameData.settings)
+ .filter(([_key, value]) => typeof value === 'boolean')
+ .map(([key, value]) => (
+ togglePermission(key)} />
+ ))}
+
)}
diff --git a/constants/tarokka.ts b/constants/tarokka.ts
index 46e7ab8..45d34c5 100644
--- a/constants/tarokka.ts
+++ b/constants/tarokka.ts
@@ -45,3 +45,76 @@ export const layout: Layout[] = [
text: 'Your enemy is a creature of darkness, whose powers are beyond mortality. This card will lead you to him!',
},
];
+
+export const cardStyles = {
+ color: {
+ baseURL: '/img/color/',
+ extension: '.webp',
+ },
+ grayscale: {
+ baseURL: '/img/grayscale/',
+ extension: '.webp',
+ },
+ standard: {
+ baseURL: '/img/standard/',
+ extension: '.svg',
+ },
+};
+
+export const standardMap = {
+ abjurer: '4C',
+ anarchist: '6H',
+ artifact: '1J',
+ avenger: 'AS',
+ back: '1B',
+ beast: 'JD',
+ beggar: '6D',
+ berserker: '6S',
+ bishop: '8H',
+ 'broken-one': 'KD',
+ charlatan: '7H',
+ conjurer: '9C',
+ darklord: 'KS',
+ dictator: '8S',
+ diviner: '2C',
+ donjon: 'KC',
+ druid: '5H',
+ elementalist: '5C',
+ enchanter: '3C',
+ evoker: '6C',
+ executioner: 'JS',
+ ghost: 'KH',
+ 'guild-member': '5D',
+ healer: '3H',
+ 'hooded-one': '7S',
+ horseman: '2J',
+ illusionist: '7C',
+ innocent: 'QH',
+ marionette: 'JH',
+ mercenary: '4S',
+ merchant: '4D',
+ miser: '9D',
+ missionary: '2H',
+ mists: 'QS',
+ monk: 'AH',
+ myrmidon: '5S',
+ necromancer: '8C',
+ paladin: '2S',
+ philanthropist: '2D',
+ priest: '10H',
+ raven: 'QC',
+ rogue: '10D',
+ seer: 'JC',
+ shepherd: '4H',
+ soldier: '3S',
+ swashbuckler: 'AD',
+ 'tax-collector': '8D',
+ tempter: 'QD',
+ thief: '7D',
+ torturer: '9S',
+ trader: '3D',
+ traitor: '9H',
+ transmuter: 'AC',
+ warrior: '10S',
+ wizard: '10C',
+};
diff --git a/constants/tarokkaCards.ts b/constants/tarokkaCards.ts
index fa20ae2..f8f77db 100644
--- a/constants/tarokkaCards.ts
+++ b/constants/tarokkaCards.ts
@@ -8,7 +8,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: null,
aria: 'Back of card',
description: 'Back of card',
- url: '/img/tarokka/Back.jpg',
back: true,
},
{
@@ -18,7 +17,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Coins',
aria: 'Coins 01 Swashbuckler',
description: 'Those who like money yet give it up freely; likable rogues and rapscallions',
- url: '/img/tarokka/Coins_01_Swashbuckler.jpeg',
back: false,
value: 1,
prophecy: {
@@ -36,7 +34,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Coins 02 Philanthropist',
description:
'Charity and giving on a grand scale; those who use wealth to fight evil and sickness',
- url: '/img/tarokka/Coins_02_Philanthropist.jpeg',
back: false,
value: 2,
prophecy: {
@@ -53,7 +50,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Coins',
aria: 'Coins 03 Trader',
description: 'Commerce; smuggling and black markets; fair and equitable trades',
- url: '/img/tarokka/Coins_03_Trader.jpeg',
back: false,
value: 3,
prophecy: {
@@ -71,7 +67,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Coins 04 Merchant',
description:
'A rare commodity or business opportunity; deceitful or dangerous business transactions',
- url: '/img/tarokka/Coins_04_Merchant.jpeg',
back: false,
value: 4,
prophecy: {
@@ -87,7 +82,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Coins',
aria: 'Coins 05 Guild Member',
description: "Like-minded individuals joined together in a common goal; pride in one's work",
- url: '/img/tarokka/Coins_05_GuildMember.jpeg',
back: false,
value: 5,
prophecy: {
@@ -103,7 +97,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Coins',
aria: 'Coins 06 Beggar',
description: 'Sudden change in economic status or fortune',
- url: '/img/tarokka/Coins_06_Beggar.jpeg',
back: false,
value: 6,
prophecy: {
@@ -121,7 +114,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Coins 07 Thief',
description:
'Those who steal or burgle; a loss of property, beauty, innocence, friendship, or reputation',
- url: '/img/tarokka/Coins_07_Thief.jpeg',
back: false,
value: 7,
prophecy: {
@@ -138,7 +130,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Coins',
aria: 'Coins 08 Tax Collector',
description: 'Corruption; honesty in an otherwise corrupt government or organization',
- url: '/img/tarokka/Coins_08_TaxCollector.png',
back: false,
value: 8,
prophecy: {
@@ -157,7 +148,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Coins 09 Miser',
description:
'Hoarded wealth; those who are irreversibly unhappy or who think money is meaningless',
- url: '/img/tarokka/Coins_09_Miser.jpeg',
back: false,
value: 9,
prophecy: {
@@ -174,7 +164,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Coins 10 Rogue',
description:
'Anyone for whom money is important; those who believe money is the key to their success',
- url: '/img/tarokka/Coins_10_Rogue.jpeg',
back: false,
value: 10,
prophecy: {
@@ -191,7 +180,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Glyphs 01 Monk',
description:
'Serenity; inner strength and self-reliance; supreme confidence bereft of arrogance',
- url: '/img/tarokka/Glyphs_01_Monk.jpeg',
back: false,
value: 1,
prophecy: {
@@ -209,7 +197,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Glyphs 02 Missionary',
description:
'Those who spread wisdom and faith to others; warnings of the spread of fear and ignorance',
- url: '/img/tarokka/Glyphs_02_Missionary.jpeg',
back: false,
value: 2,
prophecy: {
@@ -228,7 +215,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Glyphs 03 Healer',
description:
'Healing; a contagious illness, disease, or curse; those who practice the healing arts',
- url: '/img/tarokka/Glyphs_03_Healer.jpeg',
back: false,
value: 3,
prophecy: {
@@ -246,7 +232,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Glyphs 04 Shepherd',
description:
'Those who protect others; one who bears a burden far too great to be shouldered alone',
- url: '/img/tarokka/Glyphs_04_Shepherd.jpeg',
back: false,
value: 4,
prophecy: {
@@ -264,7 +249,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Glyphs 05 Druid',
description:
'The ambivalence and cruelty of nature and those who feel drawn to it; inner turmoil',
- url: '/img/tarokka/Glyphs_05_Druid.jpeg',
back: false,
value: 5,
prophecy: {
@@ -282,7 +266,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Glyphs',
aria: 'Glyphs 06 Anarchist',
description: 'A fundamental change brought on by one whose beliefs are being put to the test',
- url: '/img/tarokka/Glyphs_06_Anarchist.jpeg',
back: false,
value: 6,
prophecy: {
@@ -299,7 +282,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Glyphs',
aria: 'Glyphs 07 Charlatan',
description: 'Liars; those who profess to believe one thing but actually believe another',
- url: '/img/tarokka/Glyphs_07_Charlatan.jpeg',
back: false,
value: 7,
prophecy: {
@@ -315,7 +297,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Glyphs',
aria: 'Glyphs 08 Bishop',
description: 'Strict adherence to a code or a belief; those who plot, plan, and scheme',
- url: '/img/tarokka/Glyphs_08_Bishop.jpeg',
back: false,
value: 8,
prophecy: {
@@ -332,7 +313,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Glyphs',
aria: 'Glyphs 09 Traitor',
description: 'Betrayal by someone close and trusted; a weakening or loss of faith',
- url: '/img/tarokka/Glyphs_09_Traitor.jpeg',
back: false,
value: 9,
prophecy: {
@@ -350,7 +330,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Glyphs',
aria: 'Glyphs 10 Priest',
description: 'Enlightenment; those who follow a deity, a system of values, or a higher purpose',
- url: '/img/tarokka/Glyphs_10_Priest.jpeg',
back: false,
value: 10,
prophecy: {
@@ -368,7 +347,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 01 Transmuter',
description:
'A new discovery; the coming of unexpected things; unforeseen consequences and chaos',
- url: '/img/tarokka/Stars_01_Transmuter.jpeg',
back: false,
value: 1,
prophecy: {
@@ -385,7 +363,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 02 Diviner',
description:
'The pursuit of knowledge tempered by wisdom; truth and honesty; sages and prophecy',
- url: '/img/tarokka/Stars_02_Diviner.jpeg',
back: false,
value: 2,
prophecy: {
@@ -402,7 +379,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Stars',
aria: 'Stars 03 Enchanter',
description: 'Inner turmoil that comes from confusion, fear of failure, or false information',
- url: '/img/tarokka/Stars_03_Enchanter.png',
back: false,
value: 3,
prophecy: {
@@ -421,7 +397,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 04 Abjurer',
description:
'Those guided by logic and reasoning; warns of an overlooked clue or piece of information',
- url: '/img/tarokka/Stars_04_Abjurer.jpeg',
back: false,
value: 4,
prophecy: {
@@ -439,7 +414,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 05 Elementalist',
description:
'The triumph of nature over civilization; natural disasters and bountiful harvests',
- url: '/img/tarokka/Stars_05_Elementalist.jpeg',
back: false,
value: 5,
prophecy: {
@@ -458,7 +432,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 06 Evoker',
description:
"Magical or supernatural power that can't be controlled; magic for destructive ends",
- url: '/img/tarokka/Stars_06_Evoker.jpeg',
back: false,
value: 6,
prophecy: {
@@ -476,7 +449,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 07 Illusionist',
description:
'Lies and deceit; grand conspiracies; secret societies; the presence of a dupe or a saboteur',
- url: '/img/tarokka/Stars_07_Illusionist.jpeg',
back: false,
value: 7,
prophecy: {
@@ -493,7 +465,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Stars',
aria: 'Stars 08 Necromancer',
description: 'Unnatural events and unhealthy obsessions; those who follow a destructive path',
- url: '/img/tarokka/Stars_08_Necromancer.jpeg',
back: false,
value: 8,
prophecy: {
@@ -510,7 +481,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 09 Conjurer',
description:
'The coming of an unexpected supernatural threat; those who think of themselves as gods',
- url: '/img/tarokka/Stars_09_Conjurer.jpeg',
back: false,
value: 9,
prophecy: {
@@ -528,7 +498,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Stars 10 Wizard',
description:
'Mystery and riddles; the unknown; those who crave magical power and great knowledge',
- url: '/img/tarokka/Stars_10_Wizard.jpeg',
back: false,
value: 10,
prophecy: {
@@ -546,7 +515,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Swords 01 Avenger',
description:
'Justice and revenge for great wrongs; those on a quest to rid the world of great evil',
- url: '/img/tarokka/Swords_01_Avenger.jpeg',
back: false,
value: 1,
prophecy: {
@@ -563,7 +531,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Swords',
aria: 'Swords 02 Paladin',
description: 'Just and noble warriors; those who live by a code of honor and integrity',
- url: '/img/tarokka/Swords_02_Paladin.jpeg',
back: false,
value: 2,
prophecy: {
@@ -580,7 +547,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Swords',
aria: 'Swords 03 Soldier',
description: 'War and sacrifice; the stamina to endure great hardship',
- url: '/img/tarokka/Swords_03_Soldier.jpeg',
back: false,
value: 3,
prophecy: {
@@ -597,9 +563,8 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Swords',
aria: 'Swords 04 Mercenary',
description: 'Inner strength and fortitude; those who fight for power or wealth',
- url: '/img/tarokka/Swords_04_Mercenary.jpeg',
back: false,
- value: 1,
+ value: 4,
prophecy: {
dmText: 'The treasure lies in a crypt in Castle Ravenloft (chapter 4, area K84, crypt 31).',
location: 'Castle Ravenloft',
@@ -614,7 +579,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Swords 05 Myrmidon',
description:
'Great heroes; a sudden reversal of fate; the triumph of the underdog over a mighty enemy',
- url: '/img/tarokka/Swords_05_Myrmidon.jpeg',
back: false,
value: 5,
prophecy: {
@@ -632,7 +596,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Swords',
aria: 'Swords 06 Berserker',
description: 'The brutal and barbaric side of warfare; bloodlust; those with a bestial nature',
- url: '/img/tarokka/Swords_06_Berserker.jpeg',
back: false,
value: 6,
prophecy: {
@@ -650,7 +613,6 @@ const tarokkaCards: TarokkaCard[] = [
suit: 'Swords',
aria: 'Swords 07 Hooded One',
description: 'Bigotry, intolerance, and xenophobia; a mysterious presence or newcomer',
- url: '/img/tarokka/Swords_07_HoodedOne.jpeg',
back: false,
value: 7,
prophecy: {
@@ -669,7 +631,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Swords 08 Dictator',
description:
'All that is wrong with government and leadership; those who rule through fear and violence',
- url: '/img/tarokka/Swords_08_Dictator.jpeg',
back: false,
value: 8,
prophecy: {
@@ -686,7 +647,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Swords 09 Torturer',
description:
'The coming of suffering or merciless cruelty; one who is irredeemably evil or sadistic',
- url: '/img/tarokka/Swords_09_Torturer.jpeg',
back: false,
value: 9,
prophecy: {
@@ -705,7 +665,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'Swords 10 Warrior',
description:
'Strength and force personified; violence; those who use force to accomplish their goals',
- url: '/img/tarokka/Swords_10_Warrior.jpeg',
back: false,
value: 10,
prophecy: {
@@ -723,7 +682,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Artifact',
description:
'The importance of some physical object that must be obtained, protected, or destroyed at all costs',
- url: '/img/tarokka/Crowns_Artifact.jpeg',
back: false,
prophecy: {
allies: [
@@ -748,7 +706,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Beast',
description:
'Great rage or passion; something bestial or malevolent hiding in plain sight or lurking just below the surface',
- url: '/img/tarokka/Crowns_Beast.jpeg',
back: false,
prophecy: {
allies: [
@@ -774,7 +731,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Broken One',
description:
'Defeat, failure, and despair; the loss of something or someone important, without which one feels incomplete',
- url: '/img/tarokka/Crowns_BrokenOne.jpeg',
back: false,
prophecy: {
allies: [
@@ -806,7 +762,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Darklord',
description:
'A single, powerful individual of an evil nature, one whose goals have enormous and far-reaching consequences',
- url: '/img/tarokka/Crowns_Darklord.jpeg',
back: false,
prophecy: {
allies: [
@@ -830,7 +785,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Donjon',
description:
"Isolation and imprisonment; being so conservative in thinking as to be a prisoner of one's own beliefs",
- url: '/img/tarokka/Crowns_Donjon.jpeg',
back: false,
prophecy: {
allies: [
@@ -863,7 +817,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Executioner',
description:
'The imminent death of one rightly or wrongly convicted of a crime; false accusations and unjust prosecution',
- url: '/img/tarokka/Crowns_Executioner.jpeg',
back: false,
prophecy: {
allies: [
@@ -890,7 +843,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Ghost',
description:
'The looming past; the return of an old enemy or the discovery of a secret buried long ago',
- url: '/img/tarokka/Crowns_Ghost.jpeg',
back: false,
prophecy: {
allies: [
@@ -924,7 +876,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Horseman',
description:
'Death; disaster in the form of the loss of wealth or property, a horrible defeat, or the end of a bloodline',
- url: '/img/tarokka/Crowns_Horseman.jpeg',
back: false,
prophecy: {
allies: [
@@ -957,7 +908,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Innocent',
description:
'A being of great importance whose life is in danger (who might be helpless or simply unaware of the peril)',
- url: '/img/tarokka/Crowns_Innocent.jpeg',
back: false,
prophecy: {
allies: [
@@ -990,7 +940,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Marionette',
description:
'The presence of a spy or a minion of some greater power; an encounter with a puppet or an underling',
- url: '/img/tarokka/Crowns_Marionette.jpeg',
back: false,
prophecy: {
allies: [
@@ -1022,7 +971,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Mists',
description:
"Something unexpected or mysterious that can't be avoided; a great quest or journey that will try one's spirit",
- url: '/img/tarokka/Crowns_Mists.jpeg',
back: false,
prophecy: {
allies: [
@@ -1049,7 +997,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Raven',
description:
'A hidden source of information; a fortunate turn of events; a secret potential for good',
- url: '/img/tarokka/Crowns_Raven.jpeg',
back: false,
prophecy: {
allies: [
@@ -1076,7 +1023,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Seer',
description:
'Inspiration and keen intellect; a future event, the outcome of which will hinge on a clever mind',
- url: '/img/tarokka/Crowns_Seer.jpeg',
back: false,
prophecy: {
allies: [
@@ -1103,7 +1049,6 @@ const tarokkaCards: TarokkaCard[] = [
aria: 'High Deck Tempter',
description:
'One who has been compromised or led astray by temptation or foolishness; one who tempts others for evil ends',
- url: '/img/tarokka/Crowns_Tempter.png',
back: false,
prophecy: {
allies: [
diff --git a/lib/GameStore.ts b/lib/GameStore.ts
index 15f5e02..f982779 100644
--- a/lib/GameStore.ts
+++ b/lib/GameStore.ts
@@ -46,6 +46,7 @@ export default class GameStore {
positionFront: true,
prophecy: true,
notes: true,
+ cardStyle: 'standard',
},
};
diff --git a/public/img/Tarokka/Back.jpg b/public/img/Tarokka/Back.jpg
deleted file mode 100644
index ce2a982..0000000
Binary files a/public/img/Tarokka/Back.jpg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_01_Swashbuckler.jpeg b/public/img/Tarokka/Coins_01_Swashbuckler.jpeg
deleted file mode 100644
index 19ff9e6..0000000
Binary files a/public/img/Tarokka/Coins_01_Swashbuckler.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_02_Philanthropist.jpeg b/public/img/Tarokka/Coins_02_Philanthropist.jpeg
deleted file mode 100644
index caad3e1..0000000
Binary files a/public/img/Tarokka/Coins_02_Philanthropist.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_03_Trader.jpeg b/public/img/Tarokka/Coins_03_Trader.jpeg
deleted file mode 100644
index b152dd1..0000000
Binary files a/public/img/Tarokka/Coins_03_Trader.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_04_Merchant.jpeg b/public/img/Tarokka/Coins_04_Merchant.jpeg
deleted file mode 100644
index 1241f4b..0000000
Binary files a/public/img/Tarokka/Coins_04_Merchant.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_05_GuildMember.jpeg b/public/img/Tarokka/Coins_05_GuildMember.jpeg
deleted file mode 100644
index f1ca88d..0000000
Binary files a/public/img/Tarokka/Coins_05_GuildMember.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_06_Beggar.jpeg b/public/img/Tarokka/Coins_06_Beggar.jpeg
deleted file mode 100644
index 9d207a1..0000000
Binary files a/public/img/Tarokka/Coins_06_Beggar.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_07_Thief.jpeg b/public/img/Tarokka/Coins_07_Thief.jpeg
deleted file mode 100644
index d20079b..0000000
Binary files a/public/img/Tarokka/Coins_07_Thief.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_08_TaxCollector.png b/public/img/Tarokka/Coins_08_TaxCollector.png
deleted file mode 100644
index bf39683..0000000
Binary files a/public/img/Tarokka/Coins_08_TaxCollector.png and /dev/null differ
diff --git a/public/img/Tarokka/Coins_09_Miser.jpeg b/public/img/Tarokka/Coins_09_Miser.jpeg
deleted file mode 100644
index ad73f5e..0000000
Binary files a/public/img/Tarokka/Coins_09_Miser.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Coins_10_Rogue.jpeg b/public/img/Tarokka/Coins_10_Rogue.jpeg
deleted file mode 100644
index 98d97f2..0000000
Binary files a/public/img/Tarokka/Coins_10_Rogue.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Artifact.jpeg b/public/img/Tarokka/Crowns_Artifact.jpeg
deleted file mode 100644
index 7c2dfed..0000000
Binary files a/public/img/Tarokka/Crowns_Artifact.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Beast.jpeg b/public/img/Tarokka/Crowns_Beast.jpeg
deleted file mode 100644
index c5b8af4..0000000
Binary files a/public/img/Tarokka/Crowns_Beast.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_BrokenOne.jpeg b/public/img/Tarokka/Crowns_BrokenOne.jpeg
deleted file mode 100644
index a990154..0000000
Binary files a/public/img/Tarokka/Crowns_BrokenOne.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Darklord.jpeg b/public/img/Tarokka/Crowns_Darklord.jpeg
deleted file mode 100644
index 5c9d8ed..0000000
Binary files a/public/img/Tarokka/Crowns_Darklord.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_DonJon.jpeg b/public/img/Tarokka/Crowns_DonJon.jpeg
deleted file mode 100644
index 776cf85..0000000
Binary files a/public/img/Tarokka/Crowns_DonJon.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Executioner.jpeg b/public/img/Tarokka/Crowns_Executioner.jpeg
deleted file mode 100644
index 9130160..0000000
Binary files a/public/img/Tarokka/Crowns_Executioner.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Ghost.jpeg b/public/img/Tarokka/Crowns_Ghost.jpeg
deleted file mode 100644
index 83a4eea..0000000
Binary files a/public/img/Tarokka/Crowns_Ghost.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Horseman.jpeg b/public/img/Tarokka/Crowns_Horseman.jpeg
deleted file mode 100644
index ab3996d..0000000
Binary files a/public/img/Tarokka/Crowns_Horseman.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Innocent.jpeg b/public/img/Tarokka/Crowns_Innocent.jpeg
deleted file mode 100644
index 0776618..0000000
Binary files a/public/img/Tarokka/Crowns_Innocent.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Marionette.jpeg b/public/img/Tarokka/Crowns_Marionette.jpeg
deleted file mode 100644
index 0438692..0000000
Binary files a/public/img/Tarokka/Crowns_Marionette.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Mists.jpeg b/public/img/Tarokka/Crowns_Mists.jpeg
deleted file mode 100644
index f412735..0000000
Binary files a/public/img/Tarokka/Crowns_Mists.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Raven.jpeg b/public/img/Tarokka/Crowns_Raven.jpeg
deleted file mode 100644
index 35ed609..0000000
Binary files a/public/img/Tarokka/Crowns_Raven.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Seer.jpeg b/public/img/Tarokka/Crowns_Seer.jpeg
deleted file mode 100644
index 31aa046..0000000
Binary files a/public/img/Tarokka/Crowns_Seer.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Crowns_Tempter.png b/public/img/Tarokka/Crowns_Tempter.png
deleted file mode 100644
index aa23289..0000000
Binary files a/public/img/Tarokka/Crowns_Tempter.png and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_01_Monk.jpeg b/public/img/Tarokka/Glyphs_01_Monk.jpeg
deleted file mode 100644
index 1e37cdf..0000000
Binary files a/public/img/Tarokka/Glyphs_01_Monk.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_02_Missionary.jpeg b/public/img/Tarokka/Glyphs_02_Missionary.jpeg
deleted file mode 100644
index a327aca..0000000
Binary files a/public/img/Tarokka/Glyphs_02_Missionary.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_03_Healer.jpeg b/public/img/Tarokka/Glyphs_03_Healer.jpeg
deleted file mode 100644
index de207a3..0000000
Binary files a/public/img/Tarokka/Glyphs_03_Healer.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_04_Shepherd.jpeg b/public/img/Tarokka/Glyphs_04_Shepherd.jpeg
deleted file mode 100644
index 7a10ac0..0000000
Binary files a/public/img/Tarokka/Glyphs_04_Shepherd.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_05_Druid.jpeg b/public/img/Tarokka/Glyphs_05_Druid.jpeg
deleted file mode 100644
index 4b623c4..0000000
Binary files a/public/img/Tarokka/Glyphs_05_Druid.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_06_Anarchist.jpeg b/public/img/Tarokka/Glyphs_06_Anarchist.jpeg
deleted file mode 100644
index 001307d..0000000
Binary files a/public/img/Tarokka/Glyphs_06_Anarchist.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_07_Charlatan.jpeg b/public/img/Tarokka/Glyphs_07_Charlatan.jpeg
deleted file mode 100644
index 1b84a8e..0000000
Binary files a/public/img/Tarokka/Glyphs_07_Charlatan.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_08_Bishop.jpeg b/public/img/Tarokka/Glyphs_08_Bishop.jpeg
deleted file mode 100644
index f8d0c70..0000000
Binary files a/public/img/Tarokka/Glyphs_08_Bishop.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_09_Traitor.jpeg b/public/img/Tarokka/Glyphs_09_Traitor.jpeg
deleted file mode 100644
index 26bda1e..0000000
Binary files a/public/img/Tarokka/Glyphs_09_Traitor.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Glyphs_10_Priest.jpeg b/public/img/Tarokka/Glyphs_10_Priest.jpeg
deleted file mode 100644
index 80d59c8..0000000
Binary files a/public/img/Tarokka/Glyphs_10_Priest.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_01_Transmuter.jpeg b/public/img/Tarokka/Stars_01_Transmuter.jpeg
deleted file mode 100644
index 0557bfa..0000000
Binary files a/public/img/Tarokka/Stars_01_Transmuter.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_02_Diviner.jpeg b/public/img/Tarokka/Stars_02_Diviner.jpeg
deleted file mode 100644
index 3442a10..0000000
Binary files a/public/img/Tarokka/Stars_02_Diviner.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_03_Enchanter.png b/public/img/Tarokka/Stars_03_Enchanter.png
deleted file mode 100644
index 6bee070..0000000
Binary files a/public/img/Tarokka/Stars_03_Enchanter.png and /dev/null differ
diff --git a/public/img/Tarokka/Stars_04_Abjurer.jpeg b/public/img/Tarokka/Stars_04_Abjurer.jpeg
deleted file mode 100644
index e9b65c9..0000000
Binary files a/public/img/Tarokka/Stars_04_Abjurer.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_05_Elementalist.jpeg b/public/img/Tarokka/Stars_05_Elementalist.jpeg
deleted file mode 100644
index f922c09..0000000
Binary files a/public/img/Tarokka/Stars_05_Elementalist.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_06_Evoker.jpeg b/public/img/Tarokka/Stars_06_Evoker.jpeg
deleted file mode 100644
index 047db9c..0000000
Binary files a/public/img/Tarokka/Stars_06_Evoker.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_07_Illusionist.jpeg b/public/img/Tarokka/Stars_07_Illusionist.jpeg
deleted file mode 100644
index d639b73..0000000
Binary files a/public/img/Tarokka/Stars_07_Illusionist.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_08_Necromancer.jpeg b/public/img/Tarokka/Stars_08_Necromancer.jpeg
deleted file mode 100644
index 41258ff..0000000
Binary files a/public/img/Tarokka/Stars_08_Necromancer.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_09_Conjurer.jpeg b/public/img/Tarokka/Stars_09_Conjurer.jpeg
deleted file mode 100644
index 05f1134..0000000
Binary files a/public/img/Tarokka/Stars_09_Conjurer.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Stars_10_Wizard.jpeg b/public/img/Tarokka/Stars_10_Wizard.jpeg
deleted file mode 100644
index 5657c67..0000000
Binary files a/public/img/Tarokka/Stars_10_Wizard.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_01_Avenger.jpeg b/public/img/Tarokka/Swords_01_Avenger.jpeg
deleted file mode 100644
index 66bd2f9..0000000
Binary files a/public/img/Tarokka/Swords_01_Avenger.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_02_Paladin.jpeg b/public/img/Tarokka/Swords_02_Paladin.jpeg
deleted file mode 100644
index 99f79d5..0000000
Binary files a/public/img/Tarokka/Swords_02_Paladin.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_03_Soldier.jpeg b/public/img/Tarokka/Swords_03_Soldier.jpeg
deleted file mode 100644
index 353dd12..0000000
Binary files a/public/img/Tarokka/Swords_03_Soldier.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_04_Mercenary.jpeg b/public/img/Tarokka/Swords_04_Mercenary.jpeg
deleted file mode 100644
index 562e5be..0000000
Binary files a/public/img/Tarokka/Swords_04_Mercenary.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_05_Myrmidon.jpeg b/public/img/Tarokka/Swords_05_Myrmidon.jpeg
deleted file mode 100644
index 81f6814..0000000
Binary files a/public/img/Tarokka/Swords_05_Myrmidon.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_06_Berserker.jpeg b/public/img/Tarokka/Swords_06_Berserker.jpeg
deleted file mode 100644
index 9aab607..0000000
Binary files a/public/img/Tarokka/Swords_06_Berserker.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_07_HoodedOne.jpeg b/public/img/Tarokka/Swords_07_HoodedOne.jpeg
deleted file mode 100644
index 1e5a4a9..0000000
Binary files a/public/img/Tarokka/Swords_07_HoodedOne.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_08_Dictator.jpeg b/public/img/Tarokka/Swords_08_Dictator.jpeg
deleted file mode 100644
index 5614650..0000000
Binary files a/public/img/Tarokka/Swords_08_Dictator.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_09_Torturer.jpeg b/public/img/Tarokka/Swords_09_Torturer.jpeg
deleted file mode 100644
index fd1d31a..0000000
Binary files a/public/img/Tarokka/Swords_09_Torturer.jpeg and /dev/null differ
diff --git a/public/img/Tarokka/Swords_10_Warrior.jpeg b/public/img/Tarokka/Swords_10_Warrior.jpeg
deleted file mode 100644
index e01714e..0000000
Binary files a/public/img/Tarokka/Swords_10_Warrior.jpeg and /dev/null differ
diff --git a/public/img/color/abjurer.webp b/public/img/color/abjurer.webp
new file mode 100644
index 0000000..a33f103
Binary files /dev/null and b/public/img/color/abjurer.webp differ
diff --git a/public/img/color/anarchist.webp b/public/img/color/anarchist.webp
new file mode 100644
index 0000000..6da9d02
Binary files /dev/null and b/public/img/color/anarchist.webp differ
diff --git a/public/img/color/artifact.webp b/public/img/color/artifact.webp
new file mode 100644
index 0000000..231245d
Binary files /dev/null and b/public/img/color/artifact.webp differ
diff --git a/public/img/color/avenger.webp b/public/img/color/avenger.webp
new file mode 100644
index 0000000..8438367
Binary files /dev/null and b/public/img/color/avenger.webp differ
diff --git a/public/img/color/back.webp b/public/img/color/back.webp
new file mode 100644
index 0000000..7318fd9
Binary files /dev/null and b/public/img/color/back.webp differ
diff --git a/public/img/color/beast.webp b/public/img/color/beast.webp
new file mode 100644
index 0000000..332258e
Binary files /dev/null and b/public/img/color/beast.webp differ
diff --git a/public/img/color/beggar.webp b/public/img/color/beggar.webp
new file mode 100644
index 0000000..8eecf99
Binary files /dev/null and b/public/img/color/beggar.webp differ
diff --git a/public/img/color/berserker.webp b/public/img/color/berserker.webp
new file mode 100644
index 0000000..1cecb5a
Binary files /dev/null and b/public/img/color/berserker.webp differ
diff --git a/public/img/color/bishop.webp b/public/img/color/bishop.webp
new file mode 100644
index 0000000..d61e48d
Binary files /dev/null and b/public/img/color/bishop.webp differ
diff --git a/public/img/color/broken-one.webp b/public/img/color/broken-one.webp
new file mode 100644
index 0000000..b9029e7
Binary files /dev/null and b/public/img/color/broken-one.webp differ
diff --git a/public/img/color/charlatan.webp b/public/img/color/charlatan.webp
new file mode 100644
index 0000000..9367edc
Binary files /dev/null and b/public/img/color/charlatan.webp differ
diff --git a/public/img/color/conjurer.webp b/public/img/color/conjurer.webp
new file mode 100644
index 0000000..320a26c
Binary files /dev/null and b/public/img/color/conjurer.webp differ
diff --git a/public/img/color/darklord.webp b/public/img/color/darklord.webp
new file mode 100644
index 0000000..70d635b
Binary files /dev/null and b/public/img/color/darklord.webp differ
diff --git a/public/img/color/dictator.webp b/public/img/color/dictator.webp
new file mode 100644
index 0000000..e793093
Binary files /dev/null and b/public/img/color/dictator.webp differ
diff --git a/public/img/color/diviner.webp b/public/img/color/diviner.webp
new file mode 100644
index 0000000..d78b92a
Binary files /dev/null and b/public/img/color/diviner.webp differ
diff --git a/public/img/color/donjon.webp b/public/img/color/donjon.webp
new file mode 100644
index 0000000..689a07b
Binary files /dev/null and b/public/img/color/donjon.webp differ
diff --git a/public/img/color/druid.webp b/public/img/color/druid.webp
new file mode 100644
index 0000000..3ffbf81
Binary files /dev/null and b/public/img/color/druid.webp differ
diff --git a/public/img/color/elementalist.webp b/public/img/color/elementalist.webp
new file mode 100644
index 0000000..acef310
Binary files /dev/null and b/public/img/color/elementalist.webp differ
diff --git a/public/img/color/enchanter.webp b/public/img/color/enchanter.webp
new file mode 100644
index 0000000..82967d1
Binary files /dev/null and b/public/img/color/enchanter.webp differ
diff --git a/public/img/color/evoker.webp b/public/img/color/evoker.webp
new file mode 100644
index 0000000..8791fa8
Binary files /dev/null and b/public/img/color/evoker.webp differ
diff --git a/public/img/color/executioner.webp b/public/img/color/executioner.webp
new file mode 100644
index 0000000..d8de5cf
Binary files /dev/null and b/public/img/color/executioner.webp differ
diff --git a/public/img/color/ghost.webp b/public/img/color/ghost.webp
new file mode 100644
index 0000000..bc4046f
Binary files /dev/null and b/public/img/color/ghost.webp differ
diff --git a/public/img/color/guild-member.webp b/public/img/color/guild-member.webp
new file mode 100644
index 0000000..79334d2
Binary files /dev/null and b/public/img/color/guild-member.webp differ
diff --git a/public/img/color/healer.webp b/public/img/color/healer.webp
new file mode 100644
index 0000000..27c112c
Binary files /dev/null and b/public/img/color/healer.webp differ
diff --git a/public/img/color/hooded-one.webp b/public/img/color/hooded-one.webp
new file mode 100644
index 0000000..d5b6bb5
Binary files /dev/null and b/public/img/color/hooded-one.webp differ
diff --git a/public/img/color/horseman.webp b/public/img/color/horseman.webp
new file mode 100644
index 0000000..f966c6f
Binary files /dev/null and b/public/img/color/horseman.webp differ
diff --git a/public/img/color/illusionist.webp b/public/img/color/illusionist.webp
new file mode 100644
index 0000000..97099a9
Binary files /dev/null and b/public/img/color/illusionist.webp differ
diff --git a/public/img/color/innocent.webp b/public/img/color/innocent.webp
new file mode 100644
index 0000000..3c3e394
Binary files /dev/null and b/public/img/color/innocent.webp differ
diff --git a/public/img/color/marionette.webp b/public/img/color/marionette.webp
new file mode 100644
index 0000000..f4663bd
Binary files /dev/null and b/public/img/color/marionette.webp differ
diff --git a/public/img/color/mercenary.webp b/public/img/color/mercenary.webp
new file mode 100644
index 0000000..24e2422
Binary files /dev/null and b/public/img/color/mercenary.webp differ
diff --git a/public/img/color/merchant.webp b/public/img/color/merchant.webp
new file mode 100644
index 0000000..309407b
Binary files /dev/null and b/public/img/color/merchant.webp differ
diff --git a/public/img/color/miser.webp b/public/img/color/miser.webp
new file mode 100644
index 0000000..cab4777
Binary files /dev/null and b/public/img/color/miser.webp differ
diff --git a/public/img/color/missionary.webp b/public/img/color/missionary.webp
new file mode 100644
index 0000000..6442fb6
Binary files /dev/null and b/public/img/color/missionary.webp differ
diff --git a/public/img/color/mists.webp b/public/img/color/mists.webp
new file mode 100644
index 0000000..d3d5707
Binary files /dev/null and b/public/img/color/mists.webp differ
diff --git a/public/img/color/monk.webp b/public/img/color/monk.webp
new file mode 100644
index 0000000..5a3b868
Binary files /dev/null and b/public/img/color/monk.webp differ
diff --git a/public/img/color/myrmidon.webp b/public/img/color/myrmidon.webp
new file mode 100644
index 0000000..7a6959e
Binary files /dev/null and b/public/img/color/myrmidon.webp differ
diff --git a/public/img/color/necromancer.webp b/public/img/color/necromancer.webp
new file mode 100644
index 0000000..6f574d7
Binary files /dev/null and b/public/img/color/necromancer.webp differ
diff --git a/public/img/color/paladin.webp b/public/img/color/paladin.webp
new file mode 100644
index 0000000..781d35b
Binary files /dev/null and b/public/img/color/paladin.webp differ
diff --git a/public/img/color/philanthropist.webp b/public/img/color/philanthropist.webp
new file mode 100644
index 0000000..13d5e5a
Binary files /dev/null and b/public/img/color/philanthropist.webp differ
diff --git a/public/img/color/priest.webp b/public/img/color/priest.webp
new file mode 100644
index 0000000..c0fe0f6
Binary files /dev/null and b/public/img/color/priest.webp differ
diff --git a/public/img/color/raven.webp b/public/img/color/raven.webp
new file mode 100644
index 0000000..039cace
Binary files /dev/null and b/public/img/color/raven.webp differ
diff --git a/public/img/color/rogue.webp b/public/img/color/rogue.webp
new file mode 100644
index 0000000..3540da0
Binary files /dev/null and b/public/img/color/rogue.webp differ
diff --git a/public/img/color/seer.webp b/public/img/color/seer.webp
new file mode 100644
index 0000000..43cef5e
Binary files /dev/null and b/public/img/color/seer.webp differ
diff --git a/public/img/color/shepherd.webp b/public/img/color/shepherd.webp
new file mode 100644
index 0000000..e165cfe
Binary files /dev/null and b/public/img/color/shepherd.webp differ
diff --git a/public/img/color/soldier.webp b/public/img/color/soldier.webp
new file mode 100644
index 0000000..7d46229
Binary files /dev/null and b/public/img/color/soldier.webp differ
diff --git a/public/img/color/swashbuckler.webp b/public/img/color/swashbuckler.webp
new file mode 100644
index 0000000..a5caed2
Binary files /dev/null and b/public/img/color/swashbuckler.webp differ
diff --git a/public/img/color/tax-collector.webp b/public/img/color/tax-collector.webp
new file mode 100644
index 0000000..75d5594
Binary files /dev/null and b/public/img/color/tax-collector.webp differ
diff --git a/public/img/color/tempter.webp b/public/img/color/tempter.webp
new file mode 100644
index 0000000..f84f1bf
Binary files /dev/null and b/public/img/color/tempter.webp differ
diff --git a/public/img/color/thief.webp b/public/img/color/thief.webp
new file mode 100644
index 0000000..7587367
Binary files /dev/null and b/public/img/color/thief.webp differ
diff --git a/public/img/color/torturer.webp b/public/img/color/torturer.webp
new file mode 100644
index 0000000..89c0691
Binary files /dev/null and b/public/img/color/torturer.webp differ
diff --git a/public/img/color/trader.webp b/public/img/color/trader.webp
new file mode 100644
index 0000000..99d3296
Binary files /dev/null and b/public/img/color/trader.webp differ
diff --git a/public/img/color/traitor.webp b/public/img/color/traitor.webp
new file mode 100644
index 0000000..4e10655
Binary files /dev/null and b/public/img/color/traitor.webp differ
diff --git a/public/img/color/transmuter.webp b/public/img/color/transmuter.webp
new file mode 100644
index 0000000..bd8c469
Binary files /dev/null and b/public/img/color/transmuter.webp differ
diff --git a/public/img/color/warrior.webp b/public/img/color/warrior.webp
new file mode 100644
index 0000000..6fb5f7b
Binary files /dev/null and b/public/img/color/warrior.webp differ
diff --git a/public/img/color/wizard.webp b/public/img/color/wizard.webp
new file mode 100644
index 0000000..2ff1eeb
Binary files /dev/null and b/public/img/color/wizard.webp differ
diff --git a/public/img/grayscale/abjurer.webp b/public/img/grayscale/abjurer.webp
new file mode 100644
index 0000000..49668f6
Binary files /dev/null and b/public/img/grayscale/abjurer.webp differ
diff --git a/public/img/grayscale/anarchist.webp b/public/img/grayscale/anarchist.webp
new file mode 100644
index 0000000..4848380
Binary files /dev/null and b/public/img/grayscale/anarchist.webp differ
diff --git a/public/img/grayscale/artifact.webp b/public/img/grayscale/artifact.webp
new file mode 100644
index 0000000..a9dc3d5
Binary files /dev/null and b/public/img/grayscale/artifact.webp differ
diff --git a/public/img/grayscale/avenger.webp b/public/img/grayscale/avenger.webp
new file mode 100644
index 0000000..18abec0
Binary files /dev/null and b/public/img/grayscale/avenger.webp differ
diff --git a/public/img/grayscale/back.webp b/public/img/grayscale/back.webp
new file mode 100644
index 0000000..7318fd9
Binary files /dev/null and b/public/img/grayscale/back.webp differ
diff --git a/public/img/grayscale/beast.webp b/public/img/grayscale/beast.webp
new file mode 100644
index 0000000..6d215f1
Binary files /dev/null and b/public/img/grayscale/beast.webp differ
diff --git a/public/img/grayscale/beggar.webp b/public/img/grayscale/beggar.webp
new file mode 100644
index 0000000..97edd0b
Binary files /dev/null and b/public/img/grayscale/beggar.webp differ
diff --git a/public/img/grayscale/berserker.webp b/public/img/grayscale/berserker.webp
new file mode 100644
index 0000000..95f1f76
Binary files /dev/null and b/public/img/grayscale/berserker.webp differ
diff --git a/public/img/grayscale/bishop.webp b/public/img/grayscale/bishop.webp
new file mode 100644
index 0000000..e2a0055
Binary files /dev/null and b/public/img/grayscale/bishop.webp differ
diff --git a/public/img/grayscale/broken-one.webp b/public/img/grayscale/broken-one.webp
new file mode 100644
index 0000000..b63db73
Binary files /dev/null and b/public/img/grayscale/broken-one.webp differ
diff --git a/public/img/grayscale/charlatan.webp b/public/img/grayscale/charlatan.webp
new file mode 100644
index 0000000..4bc86a9
Binary files /dev/null and b/public/img/grayscale/charlatan.webp differ
diff --git a/public/img/grayscale/conjurer.webp b/public/img/grayscale/conjurer.webp
new file mode 100644
index 0000000..d9712fb
Binary files /dev/null and b/public/img/grayscale/conjurer.webp differ
diff --git a/public/img/grayscale/darklord.webp b/public/img/grayscale/darklord.webp
new file mode 100644
index 0000000..d4548ed
Binary files /dev/null and b/public/img/grayscale/darklord.webp differ
diff --git a/public/img/grayscale/dictator.webp b/public/img/grayscale/dictator.webp
new file mode 100644
index 0000000..ace278e
Binary files /dev/null and b/public/img/grayscale/dictator.webp differ
diff --git a/public/img/grayscale/diviner.webp b/public/img/grayscale/diviner.webp
new file mode 100644
index 0000000..ff13a32
Binary files /dev/null and b/public/img/grayscale/diviner.webp differ
diff --git a/public/img/grayscale/donjon.webp b/public/img/grayscale/donjon.webp
new file mode 100644
index 0000000..e58ac58
Binary files /dev/null and b/public/img/grayscale/donjon.webp differ
diff --git a/public/img/grayscale/druid.webp b/public/img/grayscale/druid.webp
new file mode 100644
index 0000000..4b58148
Binary files /dev/null and b/public/img/grayscale/druid.webp differ
diff --git a/public/img/grayscale/elementalist.webp b/public/img/grayscale/elementalist.webp
new file mode 100644
index 0000000..59d3612
Binary files /dev/null and b/public/img/grayscale/elementalist.webp differ
diff --git a/public/img/grayscale/enchanter.webp b/public/img/grayscale/enchanter.webp
new file mode 100644
index 0000000..c86390c
Binary files /dev/null and b/public/img/grayscale/enchanter.webp differ
diff --git a/public/img/grayscale/evoker.webp b/public/img/grayscale/evoker.webp
new file mode 100644
index 0000000..3893f1d
Binary files /dev/null and b/public/img/grayscale/evoker.webp differ
diff --git a/public/img/grayscale/executioner.webp b/public/img/grayscale/executioner.webp
new file mode 100644
index 0000000..7cf95a0
Binary files /dev/null and b/public/img/grayscale/executioner.webp differ
diff --git a/public/img/grayscale/ghost.webp b/public/img/grayscale/ghost.webp
new file mode 100644
index 0000000..68e48d0
Binary files /dev/null and b/public/img/grayscale/ghost.webp differ
diff --git a/public/img/grayscale/guild-member.webp b/public/img/grayscale/guild-member.webp
new file mode 100644
index 0000000..f4c74c7
Binary files /dev/null and b/public/img/grayscale/guild-member.webp differ
diff --git a/public/img/grayscale/healer.webp b/public/img/grayscale/healer.webp
new file mode 100644
index 0000000..40b8f9f
Binary files /dev/null and b/public/img/grayscale/healer.webp differ
diff --git a/public/img/grayscale/hooded-one.webp b/public/img/grayscale/hooded-one.webp
new file mode 100644
index 0000000..780e359
Binary files /dev/null and b/public/img/grayscale/hooded-one.webp differ
diff --git a/public/img/grayscale/horseman.webp b/public/img/grayscale/horseman.webp
new file mode 100644
index 0000000..971269e
Binary files /dev/null and b/public/img/grayscale/horseman.webp differ
diff --git a/public/img/grayscale/illusionist.webp b/public/img/grayscale/illusionist.webp
new file mode 100644
index 0000000..ded708c
Binary files /dev/null and b/public/img/grayscale/illusionist.webp differ
diff --git a/public/img/grayscale/innocent.webp b/public/img/grayscale/innocent.webp
new file mode 100644
index 0000000..45330ec
Binary files /dev/null and b/public/img/grayscale/innocent.webp differ
diff --git a/public/img/grayscale/marionette.webp b/public/img/grayscale/marionette.webp
new file mode 100644
index 0000000..5ab89f1
Binary files /dev/null and b/public/img/grayscale/marionette.webp differ
diff --git a/public/img/grayscale/mercenary.webp b/public/img/grayscale/mercenary.webp
new file mode 100644
index 0000000..5b07f37
Binary files /dev/null and b/public/img/grayscale/mercenary.webp differ
diff --git a/public/img/grayscale/merchant.webp b/public/img/grayscale/merchant.webp
new file mode 100644
index 0000000..b8f357b
Binary files /dev/null and b/public/img/grayscale/merchant.webp differ
diff --git a/public/img/grayscale/miser.webp b/public/img/grayscale/miser.webp
new file mode 100644
index 0000000..2f3e29a
Binary files /dev/null and b/public/img/grayscale/miser.webp differ
diff --git a/public/img/grayscale/missionary.webp b/public/img/grayscale/missionary.webp
new file mode 100644
index 0000000..76881ed
Binary files /dev/null and b/public/img/grayscale/missionary.webp differ
diff --git a/public/img/grayscale/mists.webp b/public/img/grayscale/mists.webp
new file mode 100644
index 0000000..b74c89c
Binary files /dev/null and b/public/img/grayscale/mists.webp differ
diff --git a/public/img/grayscale/monk.webp b/public/img/grayscale/monk.webp
new file mode 100644
index 0000000..1fd8d66
Binary files /dev/null and b/public/img/grayscale/monk.webp differ
diff --git a/public/img/grayscale/myrmidon.webp b/public/img/grayscale/myrmidon.webp
new file mode 100644
index 0000000..5da7906
Binary files /dev/null and b/public/img/grayscale/myrmidon.webp differ
diff --git a/public/img/grayscale/necromancer.webp b/public/img/grayscale/necromancer.webp
new file mode 100644
index 0000000..9b86cbd
Binary files /dev/null and b/public/img/grayscale/necromancer.webp differ
diff --git a/public/img/grayscale/paladin.webp b/public/img/grayscale/paladin.webp
new file mode 100644
index 0000000..8fd9ca4
Binary files /dev/null and b/public/img/grayscale/paladin.webp differ
diff --git a/public/img/grayscale/philanthropist.webp b/public/img/grayscale/philanthropist.webp
new file mode 100644
index 0000000..7019f17
Binary files /dev/null and b/public/img/grayscale/philanthropist.webp differ
diff --git a/public/img/grayscale/priest.webp b/public/img/grayscale/priest.webp
new file mode 100644
index 0000000..f0f32d6
Binary files /dev/null and b/public/img/grayscale/priest.webp differ
diff --git a/public/img/grayscale/raven.webp b/public/img/grayscale/raven.webp
new file mode 100644
index 0000000..8c1c173
Binary files /dev/null and b/public/img/grayscale/raven.webp differ
diff --git a/public/img/grayscale/rogue.webp b/public/img/grayscale/rogue.webp
new file mode 100644
index 0000000..963f1c9
Binary files /dev/null and b/public/img/grayscale/rogue.webp differ
diff --git a/public/img/grayscale/seer.webp b/public/img/grayscale/seer.webp
new file mode 100644
index 0000000..66eef6e
Binary files /dev/null and b/public/img/grayscale/seer.webp differ
diff --git a/public/img/grayscale/shepherd.webp b/public/img/grayscale/shepherd.webp
new file mode 100644
index 0000000..6efec3e
Binary files /dev/null and b/public/img/grayscale/shepherd.webp differ
diff --git a/public/img/grayscale/soldier.webp b/public/img/grayscale/soldier.webp
new file mode 100644
index 0000000..2a70166
Binary files /dev/null and b/public/img/grayscale/soldier.webp differ
diff --git a/public/img/grayscale/swashbuckler.webp b/public/img/grayscale/swashbuckler.webp
new file mode 100644
index 0000000..a286895
Binary files /dev/null and b/public/img/grayscale/swashbuckler.webp differ
diff --git a/public/img/grayscale/tax-collector.webp b/public/img/grayscale/tax-collector.webp
new file mode 100644
index 0000000..c5819ce
Binary files /dev/null and b/public/img/grayscale/tax-collector.webp differ
diff --git a/public/img/grayscale/tempter.webp b/public/img/grayscale/tempter.webp
new file mode 100644
index 0000000..00eaae5
Binary files /dev/null and b/public/img/grayscale/tempter.webp differ
diff --git a/public/img/grayscale/thief.webp b/public/img/grayscale/thief.webp
new file mode 100644
index 0000000..de745ff
Binary files /dev/null and b/public/img/grayscale/thief.webp differ
diff --git a/public/img/grayscale/torturer.webp b/public/img/grayscale/torturer.webp
new file mode 100644
index 0000000..79be1ee
Binary files /dev/null and b/public/img/grayscale/torturer.webp differ
diff --git a/public/img/grayscale/trader.webp b/public/img/grayscale/trader.webp
new file mode 100644
index 0000000..7dbc3fc
Binary files /dev/null and b/public/img/grayscale/trader.webp differ
diff --git a/public/img/grayscale/traitor.webp b/public/img/grayscale/traitor.webp
new file mode 100644
index 0000000..fcdf8cc
Binary files /dev/null and b/public/img/grayscale/traitor.webp differ
diff --git a/public/img/grayscale/transmuter.webp b/public/img/grayscale/transmuter.webp
new file mode 100644
index 0000000..9c9d87b
Binary files /dev/null and b/public/img/grayscale/transmuter.webp differ
diff --git a/public/img/grayscale/warrior.webp b/public/img/grayscale/warrior.webp
new file mode 100644
index 0000000..e222a6e
Binary files /dev/null and b/public/img/grayscale/warrior.webp differ
diff --git a/public/img/grayscale/wizard.webp b/public/img/grayscale/wizard.webp
new file mode 100644
index 0000000..06a18c4
Binary files /dev/null and b/public/img/grayscale/wizard.webp differ
diff --git a/public/cards/10C.svg b/public/img/standard/10C.svg
similarity index 100%
rename from public/cards/10C.svg
rename to public/img/standard/10C.svg
diff --git a/public/cards/10D.svg b/public/img/standard/10D.svg
similarity index 100%
rename from public/cards/10D.svg
rename to public/img/standard/10D.svg
diff --git a/public/cards/10H.svg b/public/img/standard/10H.svg
similarity index 100%
rename from public/cards/10H.svg
rename to public/img/standard/10H.svg
diff --git a/public/cards/10S.svg b/public/img/standard/10S.svg
similarity index 100%
rename from public/cards/10S.svg
rename to public/img/standard/10S.svg
diff --git a/public/cards/1B.svg b/public/img/standard/1B.svg
similarity index 100%
rename from public/cards/1B.svg
rename to public/img/standard/1B.svg
diff --git a/public/cards/1J.svg b/public/img/standard/1J.svg
similarity index 100%
rename from public/cards/1J.svg
rename to public/img/standard/1J.svg
diff --git a/public/cards/2B.svg b/public/img/standard/2B.svg
similarity index 100%
rename from public/cards/2B.svg
rename to public/img/standard/2B.svg
diff --git a/public/cards/2C.svg b/public/img/standard/2C.svg
similarity index 100%
rename from public/cards/2C.svg
rename to public/img/standard/2C.svg
diff --git a/public/cards/2D.svg b/public/img/standard/2D.svg
similarity index 100%
rename from public/cards/2D.svg
rename to public/img/standard/2D.svg
diff --git a/public/cards/2H.svg b/public/img/standard/2H.svg
similarity index 100%
rename from public/cards/2H.svg
rename to public/img/standard/2H.svg
diff --git a/public/cards/2J.svg b/public/img/standard/2J.svg
similarity index 100%
rename from public/cards/2J.svg
rename to public/img/standard/2J.svg
diff --git a/public/cards/2S.svg b/public/img/standard/2S.svg
similarity index 100%
rename from public/cards/2S.svg
rename to public/img/standard/2S.svg
diff --git a/public/cards/3C.svg b/public/img/standard/3C.svg
similarity index 100%
rename from public/cards/3C.svg
rename to public/img/standard/3C.svg
diff --git a/public/cards/3D.svg b/public/img/standard/3D.svg
similarity index 100%
rename from public/cards/3D.svg
rename to public/img/standard/3D.svg
diff --git a/public/cards/3H.svg b/public/img/standard/3H.svg
similarity index 100%
rename from public/cards/3H.svg
rename to public/img/standard/3H.svg
diff --git a/public/cards/3S.svg b/public/img/standard/3S.svg
similarity index 100%
rename from public/cards/3S.svg
rename to public/img/standard/3S.svg
diff --git a/public/cards/4C.svg b/public/img/standard/4C.svg
similarity index 100%
rename from public/cards/4C.svg
rename to public/img/standard/4C.svg
diff --git a/public/cards/4D.svg b/public/img/standard/4D.svg
similarity index 100%
rename from public/cards/4D.svg
rename to public/img/standard/4D.svg
diff --git a/public/cards/4H.svg b/public/img/standard/4H.svg
similarity index 100%
rename from public/cards/4H.svg
rename to public/img/standard/4H.svg
diff --git a/public/cards/4S.svg b/public/img/standard/4S.svg
similarity index 100%
rename from public/cards/4S.svg
rename to public/img/standard/4S.svg
diff --git a/public/cards/5C.svg b/public/img/standard/5C.svg
similarity index 100%
rename from public/cards/5C.svg
rename to public/img/standard/5C.svg
diff --git a/public/cards/5D.svg b/public/img/standard/5D.svg
similarity index 100%
rename from public/cards/5D.svg
rename to public/img/standard/5D.svg
diff --git a/public/cards/5H.svg b/public/img/standard/5H.svg
similarity index 100%
rename from public/cards/5H.svg
rename to public/img/standard/5H.svg
diff --git a/public/cards/5S.svg b/public/img/standard/5S.svg
similarity index 100%
rename from public/cards/5S.svg
rename to public/img/standard/5S.svg
diff --git a/public/cards/6C.svg b/public/img/standard/6C.svg
similarity index 100%
rename from public/cards/6C.svg
rename to public/img/standard/6C.svg
diff --git a/public/cards/6D.svg b/public/img/standard/6D.svg
similarity index 100%
rename from public/cards/6D.svg
rename to public/img/standard/6D.svg
diff --git a/public/cards/6H.svg b/public/img/standard/6H.svg
similarity index 100%
rename from public/cards/6H.svg
rename to public/img/standard/6H.svg
diff --git a/public/cards/6S.svg b/public/img/standard/6S.svg
similarity index 100%
rename from public/cards/6S.svg
rename to public/img/standard/6S.svg
diff --git a/public/cards/7C.svg b/public/img/standard/7C.svg
similarity index 100%
rename from public/cards/7C.svg
rename to public/img/standard/7C.svg
diff --git a/public/cards/7D.svg b/public/img/standard/7D.svg
similarity index 100%
rename from public/cards/7D.svg
rename to public/img/standard/7D.svg
diff --git a/public/cards/7H.svg b/public/img/standard/7H.svg
similarity index 100%
rename from public/cards/7H.svg
rename to public/img/standard/7H.svg
diff --git a/public/cards/7S.svg b/public/img/standard/7S.svg
similarity index 100%
rename from public/cards/7S.svg
rename to public/img/standard/7S.svg
diff --git a/public/cards/8C.svg b/public/img/standard/8C.svg
similarity index 100%
rename from public/cards/8C.svg
rename to public/img/standard/8C.svg
diff --git a/public/cards/8D.svg b/public/img/standard/8D.svg
similarity index 100%
rename from public/cards/8D.svg
rename to public/img/standard/8D.svg
diff --git a/public/cards/8H.svg b/public/img/standard/8H.svg
similarity index 100%
rename from public/cards/8H.svg
rename to public/img/standard/8H.svg
diff --git a/public/cards/8S.svg b/public/img/standard/8S.svg
similarity index 100%
rename from public/cards/8S.svg
rename to public/img/standard/8S.svg
diff --git a/public/cards/9C.svg b/public/img/standard/9C.svg
similarity index 100%
rename from public/cards/9C.svg
rename to public/img/standard/9C.svg
diff --git a/public/cards/9D.svg b/public/img/standard/9D.svg
similarity index 100%
rename from public/cards/9D.svg
rename to public/img/standard/9D.svg
diff --git a/public/cards/9H.svg b/public/img/standard/9H.svg
similarity index 100%
rename from public/cards/9H.svg
rename to public/img/standard/9H.svg
diff --git a/public/cards/9S.svg b/public/img/standard/9S.svg
similarity index 100%
rename from public/cards/9S.svg
rename to public/img/standard/9S.svg
diff --git a/public/cards/AC.svg b/public/img/standard/AC.svg
similarity index 100%
rename from public/cards/AC.svg
rename to public/img/standard/AC.svg
diff --git a/public/cards/AD.svg b/public/img/standard/AD.svg
similarity index 100%
rename from public/cards/AD.svg
rename to public/img/standard/AD.svg
diff --git a/public/cards/AH.svg b/public/img/standard/AH.svg
similarity index 100%
rename from public/cards/AH.svg
rename to public/img/standard/AH.svg
diff --git a/public/cards/AS.svg b/public/img/standard/AS.svg
similarity index 100%
rename from public/cards/AS.svg
rename to public/img/standard/AS.svg
diff --git a/public/cards/JC.svg b/public/img/standard/JC.svg
similarity index 100%
rename from public/cards/JC.svg
rename to public/img/standard/JC.svg
diff --git a/public/cards/JD.svg b/public/img/standard/JD.svg
similarity index 100%
rename from public/cards/JD.svg
rename to public/img/standard/JD.svg
diff --git a/public/cards/JH.svg b/public/img/standard/JH.svg
similarity index 100%
rename from public/cards/JH.svg
rename to public/img/standard/JH.svg
diff --git a/public/cards/JS.svg b/public/img/standard/JS.svg
similarity index 100%
rename from public/cards/JS.svg
rename to public/img/standard/JS.svg
diff --git a/public/cards/KC.svg b/public/img/standard/KC.svg
similarity index 100%
rename from public/cards/KC.svg
rename to public/img/standard/KC.svg
diff --git a/public/cards/KD.svg b/public/img/standard/KD.svg
similarity index 100%
rename from public/cards/KD.svg
rename to public/img/standard/KD.svg
diff --git a/public/cards/KH.svg b/public/img/standard/KH.svg
similarity index 100%
rename from public/cards/KH.svg
rename to public/img/standard/KH.svg
diff --git a/public/cards/KS.svg b/public/img/standard/KS.svg
similarity index 100%
rename from public/cards/KS.svg
rename to public/img/standard/KS.svg
diff --git a/public/cards/QC.svg b/public/img/standard/QC.svg
similarity index 100%
rename from public/cards/QC.svg
rename to public/img/standard/QC.svg
diff --git a/public/cards/QD.svg b/public/img/standard/QD.svg
similarity index 100%
rename from public/cards/QD.svg
rename to public/img/standard/QD.svg
diff --git a/public/cards/QH.svg b/public/img/standard/QH.svg
similarity index 100%
rename from public/cards/QH.svg
rename to public/img/standard/QH.svg
diff --git a/public/cards/QS.svg b/public/img/standard/QS.svg
similarity index 100%
rename from public/cards/QS.svg
rename to public/img/standard/QS.svg
diff --git a/tools/getURL.ts b/tools/getURL.ts
new file mode 100644
index 0000000..244c48b
--- /dev/null
+++ b/tools/getURL.ts
@@ -0,0 +1,8 @@
+import { cardStyles, standardMap } from '@/constants/tarokka';
+import { Settings, TarokkaGameCard } from '@/types';
+
+export default function getURL(card: TarokkaGameCard, settings: Settings) {
+ const styleConfig = cardStyles[settings.cardStyle];
+ const fileBase = settings.cardStyle === 'standard' ? standardMap[card.id] : card.id;
+ return `${styleConfig.baseURL}${fileBase}${styleConfig.extension}`;
+}
diff --git a/types/index.ts b/types/index.ts
index 20f3da6..935eb40 100644
--- a/types/index.ts
+++ b/types/index.ts
@@ -1,8 +1,11 @@
+export type CardStyle = 'standard' | 'color' | 'grayscale';
+
export interface Settings {
positionBack: boolean;
positionFront: boolean;
prophecy: boolean;
notes: boolean;
+ cardStyle: CardStyle;
}
export interface StandardCard {
@@ -12,7 +15,6 @@ export interface StandardCard {
face: boolean;
joker: boolean;
suit: 'Clubs' | 'Diamonds' | 'Hearts' | 'Spades' | null;
- url: string;
}
export interface StandardGameCard extends StandardCard {
@@ -27,7 +29,6 @@ export interface TarokkaBase {
aria: string;
back: boolean;
suit: 'Coins' | 'Glyphs' | 'High Deck' | 'Stars' | 'Swords' | null;
- url: string;
}
export interface TarokkaGameBase extends TarokkaBase {