Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5.0.0-alpha.264: Aesthetic 0-to-10-by-1-or-2 #98

Merged
merged 5 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@
"preview:https": "serve dist",
"reinstall": "rm -rf node_modules; yarn; vue-tsc --noEmit"
},
"version": "5.0.0-alpha.263"
"version": "5.0.0-alpha.264"
}
2 changes: 1 addition & 1 deletion src/components/units/AppGameVariants.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
return logo[appLogoFilePath].default;
};
const customBoardRoute = () => {
let boardStr = window.prompt('Enter a valid board string:');
let boardStr = window.prompt('Enter a valid variant:');
if (boardStr !== null) {
router.push({ name: 'game', params: { type: gameType.value, gameId: gameId.value, variantId: boardStr } })
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/units/GameBody/AppGameBodyHeaderOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
aria-label="toggle"
type="checkbox"
v-model="options.showNextMoves" />
<label for="checkbox">Available Move Predictions</label>
<label for="checkbox">Available Move Buttons</label>
</div>
<div class="option" v-if="options.showNextMoves">
<input class="uni-toggle-button"
Expand Down Expand Up @@ -161,6 +161,7 @@
const gameType = route.params.type as string;
const gameId = route.params.gameId as string;
const variantId = route.params.variantId as string;
//const animationSpeeds = ["None", "Very Fast (2.0x)", "Fast (1.5x)", "Normal (1.0x)"]

const game = computed(() => store.getters.game(gameType, gameId));
const gameVariant = computed(() => store.getters.variant(gameType, gameId, variantId));
Expand Down
6 changes: 4 additions & 2 deletions src/components/units/GameBody/CharacterAutoGUI.vue
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,15 @@

// Highlight move cells on hover
g:hover > &.move {
cursor: pointer;
fill: var(--neutralColor);
}
}

.app-game-board-default-token {
alignment-baseline: middle;
text-anchor: middle;
cursor: default;
alignment-baseline: middle;
cursor: pointer;

[data-turn="A"] &.move {
fill: var(--turn1Color);
Expand Down Expand Up @@ -361,6 +362,7 @@
}

&:hover {
cursor: pointer;
animation-name: pulsing-arrow;
animation-duration: 0.3s;
animation-iteration-count: infinite;
Expand Down
1 change: 1 addition & 0 deletions src/components/units/GameBody/CustomGUISim.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
}

&:hover {
cursor: pointer;
animation-name: pulsing-line;
animation-duration: 0.3s;
animation-iteration-count: infinite;
Expand Down
5 changes: 4 additions & 1 deletion src/components/units/GameBody/ImageAutoGUI.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
const move = {
str: nextMoveData.move,
hint: nextMoveData.moveValue,
hintOpacity: nextMoveData.moveValueOpacity,
hintOpacity: !options.value.showNextMoves ? 0.001 : nextMoveData.moveValueOpacity,
nextPosition: nextMoveData.position
};

Expand Down Expand Up @@ -330,6 +330,7 @@
}

&:hover {
cursor: pointer;
animation-name: pulsing-token;
animation-duration: 0.3s;
animation-iteration-count: infinite;
Expand Down Expand Up @@ -375,6 +376,7 @@
}

&:hover {
cursor: pointer;
animation-name: pulsing-arrow;
animation-duration: 0.3s;
animation-iteration-count: infinite;
Expand All @@ -398,6 +400,7 @@
}

&:hover {
cursor: pointer;
animation-name: pulsing-line;
animation-duration: 0.3s;
animation-iteration-count: infinite;
Expand Down
126 changes: 126 additions & 0 deletions src/models/images/svg/0to10by1or2/grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/models/images/svg/0to10by1or2/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions src/models/images/svg/connect4/a.svg

This file was deleted.

4 changes: 4 additions & 0 deletions src/models/images/svg/lightsout/0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/models/images/svg/lightsout/1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/models/images/svg/lightsout/background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/models/images/svg/lightsout/t.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading