From 7a15373ad7cf860a39fd70f32d8b31a0ea9fd31f Mon Sep 17 00:00:00 2001 From: Alvaro Estrella <62617705+AEstrellaS@users.noreply.github.com> Date: Fri, 17 Nov 2023 02:14:21 -0800 Subject: [PATCH] v5.0.0-alpha.272: Win By VVH and Computer Logic, Puzzle Remote Server CORS Fix (#103) * feat(vvh): Win By View in VVH. * feat(cpu): CPU play by Strategy: remoteness or win by. * fix(vvh): Fixed issue where links between positions and moves would render on top of the positions and move nodes. * fix(vvh): Fixed issue where move nodes would render on top of position nodes. * fix(vvh): Fixed issue where links would render on top of move nodes. * docs: Added comments based on the @JSDocs standard, cleaned up code. --------- Co-authored-by: Robert Shi <42782709+robertyishi@users.noreply.github.com> --- package.json | 2 +- .../GameBody/AppGameBodyHeaderOptions.vue | 83 +++ src/components/units/VVH/AppGameVvhBody.vue | 531 +++++++++++++++--- src/models/datas/defaultApp.ts | 13 +- src/scripts/apis/gamesCrafters/types.ts | 6 +- src/scripts/gamesmanUni/index.ts | 94 +++- src/scripts/gamesmanUni/types.ts | 5 + src/scripts/plugins/store/index.ts | 28 +- 8 files changed, 675 insertions(+), 87 deletions(-) diff --git a/package.json b/package.json index 0d51e80b..deb0252f 100644 --- a/package.json +++ b/package.json @@ -48,5 +48,5 @@ "preview:https": "serve dist", "reinstall": "rm -rf node_modules; yarn; vue-tsc --noEmit" }, - "version": "5.0.0-alpha.271" + "version": "5.0.0-alpha.272" } diff --git a/src/components/units/GameBody/AppGameBodyHeaderOptions.vue b/src/components/units/GameBody/AppGameBodyHeaderOptions.vue index 832490aa..fe93203f 100644 --- a/src/components/units/GameBody/AppGameBodyHeaderOptions.vue +++ b/src/components/units/GameBody/AppGameBodyHeaderOptions.vue @@ -62,6 +62,25 @@ type="checkbox" v-model="updatedLeftPlayer.isComputer" /> +
- Remoteness +
@@ -16,7 +30,7 @@ + + +
Moves
- Remoteness + {{ vvhView }}
Remoteness Coordinate Height
+View Coordinate Height
Move Coordinate Width
+Coordinate Width
Remoteness Bar Width
+Bar Width
Remoteness Interval Bar Width
+Interval Bar Width
Remoteness Interval
-View Interval
+