Skip to content

Commit b033ed4

Browse files
committed
Swamp board and figures in hand view and redesign chess figures
1 parent 74fc14c commit b033ed4

File tree

14 files changed

+435
-433
lines changed

14 files changed

+435
-433
lines changed

api/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,10 +504,10 @@ packages:
504504
dependency: transitive
505505
description:
506506
name: watcher
507-
sha256: "0b7fd4a0bbc4b92641dbf20adfd7e3fd1398fe17102d94b674234563e110088a"
507+
sha256: "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c"
508508
url: "https://pub.dev"
509509
source: hosted
510-
version: "1.1.2"
510+
version: "1.1.3"
511511
web:
512512
dependency: transitive
513513
description:

app/android/Gemfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ GEM
1111
artifactory (3.0.17)
1212
atomos (0.1.3)
1313
aws-eventstream (1.4.0)
14-
aws-partitions (1.1148.0)
15-
aws-sdk-core (3.229.0)
14+
aws-partitions (1.1153.0)
15+
aws-sdk-core (3.232.0)
1616
aws-eventstream (~> 1, >= 1.3.0)
1717
aws-partitions (~> 1, >= 1.992.0)
1818
aws-sigv4 (~> 1.9)
1919
base64
2020
bigdecimal
2121
jmespath (~> 1, >= 1.6.1)
2222
logger
23-
aws-sdk-kms (1.110.0)
24-
aws-sdk-core (~> 3, >= 3.228.0)
23+
aws-sdk-kms (1.112.0)
24+
aws-sdk-core (~> 3, >= 3.231.0)
2525
aws-sigv4 (~> 1.5)
26-
aws-sdk-s3 (1.197.0)
27-
aws-sdk-core (~> 3, >= 3.228.0)
26+
aws-sdk-s3 (1.198.0)
27+
aws-sdk-core (~> 3, >= 3.231.0)
2828
aws-sdk-kms (~> 1)
2929
aws-sigv4 (~> 1.5)
3030
aws-sigv4 (1.12.1)
@@ -182,17 +182,17 @@ GEM
182182
trailblazer-option (>= 0.1.1, < 0.2.0)
183183
uber (< 0.2.0)
184184
retriable (3.1.2)
185-
rexml (3.4.1)
185+
rexml (3.4.2)
186186
rouge (3.28.0)
187187
ruby2_keywords (0.0.5)
188188
rubyzip (2.4.1)
189189
screengrab (1.0.0)
190190
fastlane (>= 2.0.0, < 3.0.0)
191191
security (0.1.5)
192-
signet (0.20.0)
192+
signet (0.21.0)
193193
addressable (~> 2.8)
194194
faraday (>= 0.17.5, < 3.a)
195-
jwt (>= 1.5, < 3.0)
195+
jwt (>= 1.5, < 4.0)
196196
multi_json (~> 1.10)
197197
simctl (1.6.10)
198198
CFPropertyList

app/lib/board/hand/view.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,14 @@ class GameHand extends CustomPainterComponent
235235
Future<void> _buildCellHand(VectorDefinition location, TableCell? cell) {
236236
return Future.wait([
237237
_addChildren(
238-
cell?.objects.asMap().entries.map(
239-
(e) => GameObjectHandItem(item: (location, e.key, e.value)),
238+
cell?.tiles.asMap().entries.map(
239+
(e) => BoardTileHandItem(item: (location, e.key, e.value)),
240240
) ??
241241
const Iterable.empty(),
242242
),
243243
_addChildren(
244-
cell?.tiles.asMap().entries.map(
245-
(e) => BoardTileHandItem(item: (location, e.key, e.value)),
244+
cell?.objects.asMap().entries.map(
245+
(e) => GameObjectHandItem(item: (location, e.key, e.value)),
246246
) ??
247247
const Iterable.empty(),
248248
),

app/pack/figures/chess_black.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,38 @@
22
"back": {
33
"texture": "figures/chess.png",
44
"offset": [0, 0],
5-
"size": [16, 16]
5+
"size": [32, 32]
66
},
77
"variations": {
88
"king": {
99
"texture": "figures/chess.png",
10-
"offset": [16, 0],
11-
"size": [16, 16]
10+
"offset": [32, 0],
11+
"size": [32, 32]
1212
},
1313
"queen": {
1414
"texture": "figures/chess.png",
15-
"offset": [32, 0],
16-
"size": [16, 16]
15+
"offset": [64, 0],
16+
"size": [32, 32]
1717
},
1818
"bishop": {
1919
"texture": "figures/chess.png",
20-
"offset": [48, 0],
21-
"size": [16, 16]
20+
"offset": [96, 0],
21+
"size": [32, 32]
2222
},
2323
"knight": {
2424
"texture": "figures/chess.png",
25-
"offset": [64, 0],
26-
"size": [16, 16]
25+
"offset": [128, 0],
26+
"size": [32, 32]
2727
},
2828
"rook": {
2929
"texture": "figures/chess.png",
30-
"offset": [80, 0],
31-
"size": [16, 16]
30+
"offset": [160, 0],
31+
"size": [32, 32]
3232
},
3333
"pawn": {
3434
"texture": "figures/chess.png",
35-
"offset": [96, 0],
36-
"size": [16, 16]
35+
"offset": [192, 0],
36+
"size": [32, 32]
3737
}
3838
}
3939
}

app/pack/figures/chess_white.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
{
22
"back": {
33
"texture": "figures/chess.png",
4-
"offset": [0, 16],
5-
"size": [16, 16]
4+
"offset": [0, 32],
5+
"size": [32, 32]
66
},
77
"variations": {
88
"king": {
99
"texture": "figures/chess.png",
10-
"offset": [16, 16],
11-
"size": [16, 16]
10+
"offset": [32, 32],
11+
"size": [32, 32]
1212
},
1313
"queen": {
1414
"texture": "figures/chess.png",
15-
"offset": [32, 16],
16-
"size": [16, 16]
15+
"offset": [64, 32],
16+
"size": [32, 32]
1717
},
1818
"bishop": {
1919
"texture": "figures/chess.png",
20-
"offset": [48, 16],
21-
"size": [16, 16]
20+
"offset": [96, 32],
21+
"size": [32, 32]
2222
},
2323
"knight": {
2424
"texture": "figures/chess.png",
25-
"offset": [64, 16],
26-
"size": [16, 16]
25+
"offset": [128, 32],
26+
"size": [32, 32]
2727
},
2828
"rook": {
2929
"texture": "figures/chess.png",
30-
"offset": [80, 16],
31-
"size": [16, 16]
30+
"offset": [160, 32],
31+
"size": [32, 32]
3232
},
3333
"pawn": {
3434
"texture": "figures/chess.png",
35-
"offset": [96, 16],
36-
"size": [16, 16]
35+
"offset": [192, 32],
36+
"size": [32, 32]
3737
}
3838
}
3939
}
849 Bytes
Loading

app/pubspec.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ packages:
350350
dependency: transitive
351351
description:
352352
name: file_selector_android
353-
sha256: "3015702ab73987000e7ff2df5ddc99666d2bcd65cdb243f59da35729d3be6cff"
353+
sha256: "4be8ae7374c81daf88e49084a1d68dfe68466ef38a6a3d711cc0b83d53e22465"
354354
url: "https://pub.dev"
355355
source: hosted
356-
version: "0.5.1+15"
356+
version: "0.5.1+16"
357357
file_selector_ios:
358358
dependency: transitive
359359
description:
@@ -414,26 +414,26 @@ packages:
414414
dependency: "direct main"
415415
description:
416416
name: flame
417-
sha256: "1da87b0c07e09491517b28bcfdbfdb7b77c2e1527c4d160e394f66c3a9635026"
417+
sha256: "86f63943349ef4d891fd1988ccd9fa3d27952eb8d9eb17b774a64e78cd62aaa6"
418418
url: "https://pub.dev"
419419
source: hosted
420-
version: "1.31.0"
420+
version: "1.32.0"
421421
flame_bloc:
422422
dependency: "direct main"
423423
description:
424424
name: flame_bloc
425-
sha256: aab41281f9f922584d1f64fc4842e23db5a3968ba7d95697af95ed3c0b7e6229
425+
sha256: b73f5f931ea3209c7d387660ffd543b0bb4b4c1ad84a22516b1d900d487eedde
426426
url: "https://pub.dev"
427427
source: hosted
428-
version: "1.12.16"
428+
version: "1.12.17"
429429
flame_tiled:
430430
dependency: "direct main"
431431
description:
432432
name: flame_tiled
433-
sha256: d07074e74c216736b8cb50458611307036f0b2a2a0f9b42db4f72593ff20f299
433+
sha256: "36fef1d6b3caaa8b26f18cd20d1038d8d3409b8a9ea12de2c1295266c0d8e3c9"
434434
url: "https://pub.dev"
435435
source: hosted
436-
version: "3.0.6"
436+
version: "3.0.7"
437437
flex_color_scheme:
438438
dependency: "direct main"
439439
description:
@@ -604,10 +604,10 @@ packages:
604604
dependency: "direct main"
605605
description:
606606
name: go_router
607-
sha256: ced3fdc143c1437234ac3b8e985f3286cf138968bb83ca9a6f94d22f2951c6b9
607+
sha256: eb059dfe59f08546e9787f895bd01652076f996bcbf485a8609ef990419ad227
608608
url: "https://pub.dev"
609609
source: hosted
610-
version: "16.2.0"
610+
version: "16.2.1"
611611
graphs:
612612
dependency: transitive
613613
description:
@@ -953,10 +953,10 @@ packages:
953953
dependency: transitive
954954
description:
955955
name: path_provider_android
956-
sha256: d0d310befe2c8ab9e7f393288ccbb11b60c019c6b5afc21973eeee4dda2b35e9
956+
sha256: "993381400e94d18469750e5b9dcb8206f15bc09f9da86b9e44a9b0092a0066db"
957957
url: "https://pub.dev"
958958
source: hosted
959-
version: "2.2.17"
959+
version: "2.2.18"
960960
path_provider_foundation:
961961
dependency: transitive
962962
description:
@@ -993,10 +993,10 @@ packages:
993993
dependency: transitive
994994
description:
995995
name: petitparser
996-
sha256: "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646"
996+
sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1"
997997
url: "https://pub.dev"
998998
source: hosted
999-
version: "6.1.0"
999+
version: "7.0.1"
10001000
phosphor_flutter:
10011001
dependency: "direct main"
10021002
description:
@@ -1183,10 +1183,10 @@ packages:
11831183
dependency: transitive
11841184
description:
11851185
name: shared_preferences_android
1186-
sha256: "5bcf0772a761b04f8c6bf814721713de6f3e5d9d89caf8d3fe031b02a342379e"
1186+
sha256: a2608114b1ffdcbc9c120eb71a0e207c71da56202852d4aab8a5e30a82269e74
11871187
url: "https://pub.dev"
11881188
source: hosted
1189-
version: "2.4.11"
1189+
version: "2.4.12"
11901190
shared_preferences_foundation:
11911191
dependency: transitive
11921192
description:
@@ -1389,10 +1389,10 @@ packages:
13891389
dependency: transitive
13901390
description:
13911391
name: url_launcher_android
1392-
sha256: "0aedad096a85b49df2e4725fa32118f9fa580f3b14af7a2d2221896a02cd5656"
1392+
sha256: "69ee86740f2847b9a4ba6cffa74ed12ce500bbe2b07f3dc1e643439da60637b7"
13931393
url: "https://pub.dev"
13941394
source: hosted
1395-
version: "6.3.17"
1395+
version: "6.3.18"
13961396
url_launcher_ios:
13971397
dependency: transitive
13981398
description:
@@ -1469,10 +1469,10 @@ packages:
14691469
dependency: transitive
14701470
description:
14711471
name: vector_graphics_compiler
1472-
sha256: ca81fdfaf62a5ab45d7296614aea108d2c7d0efca8393e96174bf4d51e6725b0
1472+
sha256: d354a7ec6931e6047785f4db12a1f61ec3d43b207fc0790f863818543f8ff0dc
14731473
url: "https://pub.dev"
14741474
source: hosted
1475-
version: "1.1.18"
1475+
version: "1.1.19"
14761476
vector_math:
14771477
dependency: transitive
14781478
description:
@@ -1501,10 +1501,10 @@ packages:
15011501
dependency: transitive
15021502
description:
15031503
name: watcher
1504-
sha256: "0b7fd4a0bbc4b92641dbf20adfd7e3fd1398fe17102d94b674234563e110088a"
1504+
sha256: "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c"
15051505
url: "https://pub.dev"
15061506
source: hosted
1507-
version: "1.1.2"
1507+
version: "1.1.3"
15081508
web:
15091509
dependency: transitive
15101510
description:
@@ -1573,10 +1573,10 @@ packages:
15731573
dependency: transitive
15741574
description:
15751575
name: xml
1576-
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
1576+
sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025"
15771577
url: "https://pub.dev"
15781578
source: hosted
1579-
version: "6.5.0"
1579+
version: "6.6.1"
15801580
yaml:
15811581
dependency: transitive
15821582
description:

app/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies:
4747
rxdart: ^0.28.0
4848
collection: ^1.18.0
4949
flame_bloc: ^1.12.14
50-
flame: ">=1.31.0 <1.32.0"
50+
flame: ">=1.32.0 <1.33.0"
5151
flame_tiled: ^3.0.4
5252
# Networking
5353
http: ^1.2.1

docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"@astrojs/react": "^4.3.0",
1515
"@astrojs/starlight": "^0.35.2",
1616
"@phosphor-icons/react": "^2.1.10",
17-
"@types/react": "^19.1.11",
18-
"@types/react-dom": "^19.1.7",
19-
"astro": "^5.13.3",
17+
"@types/react": "^19.1.12",
18+
"@types/react-dom": "^19.1.9",
19+
"astro": "^5.13.5",
2020
"react": "^19.1.1",
2121
"react-dom": "^19.1.1",
2222
"remark-gemoji": "^8.0.0",
@@ -26,7 +26,7 @@
2626
"packageManager": "pnpm@10.15.0",
2727
"devDependencies": {
2828
"@vite-pwa/astro": "^1.1.0",
29-
"sass": "^1.90.0",
29+
"sass": "^1.91.0",
3030
"sharp": "^0.34.3",
3131
"vite-plugin-pwa": "^1.0.3",
3232
"workbox-window": "^7.3.0"

0 commit comments

Comments
 (0)