diff --git a/package-lock.json b/package-lock.json index d06da80..b0547e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@brdgm/millennia-solo-helper", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@brdgm/millennia-solo-helper", - "version": "1.0.1", + "version": "1.0.2", "dependencies": { "@brdgm/brdgm-commons": "^1.6.9", "@popperjs/core": "^2.11.8", diff --git a/package.json b/package.json index fc0d435..4911a18 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@brdgm/millennia-solo-helper", - "version": "1.0.1", + "version": "1.0.2", "private": true, "description": "Millennia Solo Helper", "appDeployName": "millennia", diff --git a/src/components/round/TechCardDraft.vue b/src/components/round/TechCardDraft.vue index 33d6e82..cddd47e 100644 --- a/src/components/round/TechCardDraft.vue +++ b/src/components/round/TechCardDraft.vue @@ -32,20 +32,7 @@
-
{{t('phaseADrafting.playerDraft')}}
-
-
-
- -
{{playerIncomeTotal}}
-
-
- -
{{playerIncomeLockedTotal}}
-
- -
-
+
@@ -72,11 +59,13 @@ import toTech from '@/util/toTech' import Player from '@/services/enum/Player' import TechCard from './TechCard.vue' import AppIcon from '../structure/AppIcon.vue' +import TechCardsPlayerDraft from './TechCardsPlayerDraft.vue' export default defineComponent({ name: 'TechCardDraft', components: { TechCard, + TechCardsPlayerDraft, AppIcon }, setup(props) { @@ -246,7 +235,7 @@ export default defineComponent({ .techRow { display: flex; width: calc(4 * (80px + 10px) + 40px); - .income, .income1, .income2 { + .income { position: relative; width: 40px; .icon { @@ -262,39 +251,6 @@ export default defineComponent({ font-weight: bold; } } - .income1 { - .icon { - bottom: 80px; - } - .number { - bottom: 97px; - } - @media (max-width: 600px) { - .icon { - bottom: 65px; - } - .number { - bottom: 82px; - } - } - } - .income2 { - margin-left: -40px; - .icon { - bottom: 10px; - } - .number { - bottom: 27px; - } - @media (max-width: 600px) { - .icon { - bottom: 0px; - } - .number { - bottom: 17px; - } - } - } @media (max-width: 600px) { width: calc(4 * (70px + 10px) + 40px); } diff --git a/src/components/round/TechCardsPlayerDraft.vue b/src/components/round/TechCardsPlayerDraft.vue new file mode 100644 index 0000000..b141f43 --- /dev/null +++ b/src/components/round/TechCardsPlayerDraft.vue @@ -0,0 +1,134 @@ + + + + + diff --git a/src/locales/en.json b/src/locales/en.json index 75e2b13..7308d0b 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -25,7 +25,7 @@ "setup": { "gameBoard": "Setup the game the same way as a 2-player game.", "prosperityCards": "You do not need to set up the prosperity cards, they are managed and displayed by the application.", - "techCards": "The tech cards and blank techs are randomized by the application, you are drafting them in the application against Automa. After each drafting phase in the app, pick the cards your drafted from the stack of the corresponding age.", + "techCards": "The tech cards and blank techs are randomized by the application, you are drafting them in the application against the automa. After each drafting phase in the app, pick the cards your drafted from the stack of the corresponding age.", "playerColor": "Choose a player color for the automa. The automa only needs 1 track marker and 1 VP marker.", "trackTokens": "Place the automa markers on the war track and on the VP track (starting with 10 VP).", "startPlayer": { @@ -47,7 +47,7 @@ }, "phaseADrafting": { "title": "A: Drafting", - "playerTurnSelect": "Please place your drafting marker on the board and select a tech card, or click on Next if you selected a special action.", + "playerTurnSelect": "Select a tech card, or use Next if you placed a marker on a special action.", "playerDraft": "Player draft", "botDraft": "Automa draft" }, @@ -64,7 +64,7 @@ "remove": "Remove:", "pass": "Pass", "notAvailable": "Not Available", - "playerAction": "Buy a wonder or building and click on Next.
Click on Pass to end the construction phase." + "playerAction": "Buy a wonder or building and use Next.
Use Pass to end the construction phase." }, "phaseEActions": { "title": "E: Actions", diff --git a/src/views/PhaseCIncome.vue b/src/views/PhaseCIncome.vue index 0090436..c9dd46c 100644 --- a/src/views/PhaseCIncome.vue +++ b/src/views/PhaseCIncome.vue @@ -6,15 +6,7 @@

-
{{t('phaseADrafting.playerDraft')}}
-
- -
{{playerIncomeTotal}}
-
-
- -
{{playerIncomeLockedTotal}}
-
+