Compare commits

..
Author SHA1 Message Date
waozi 3c405887b8 Release Arcade 0.7.91 with the latest game releases 2026-10-27 06:34:13 +00:00
waozi 0c747f2c49 Release Arcade 0.7.90 with Shovey 0.6.155
Entity ca637d0 saves account aliases typed with capitals, an @ or spaces
and says when an alias is taken, in Arcade and its games.
2026-10-27 02:17:30 -03:00
waozi bc5606e32c Pin the shared Profile and verify installed-only game boards 2026-10-27 01:14:32 -03:00
waozi 37a0d8b0a7 Merge remote-tracking branch 'origin/master' 2026-10-27 00:58:42 -03:00
waozi 96932541db Connect installed Arcade games to Profile leaderboards 2026-10-26 23:47:05 -03:00
8 changed files with 146 additions and 76 deletions

No files matched your search

+10
View File
@@ -1,5 +1,15 @@
# Arcade changelog
## 0.7.91
- Shovey 0.6.155: Set an account alias with capitals, an @ or spaces; a taken alias now says so.
- Apfelwurm 0.2.2: Set an account alias with capitals, an @ or spaces; a taken alias now says so.
## 0.7.90
- Set an account alias with capitals, an @ or spaces; a taken alias now says so.
- Shovey 0.6.155: Set an account alias with capitals, an @ or spaces; a taken alias now says so.
## 0.7.89
- Apfelwurm 0.2.1: Use Arcade or Inner Breeze's Profile, Dew and navigation when playing inside them, without duplicate title controls or an extra Back button.
+6
View File
@@ -200,6 +200,12 @@ puzzle. Shovey also runs as its own desktop app.
## Shared Entity profile
Leaderboard is inside the shared Profile, including standalone Arcade and
Shovey. Games report their own level totals under their verified identity;
Profile shows only games that are installed, with friend rankings for a
connected account. Removing a game hides its board while retaining its save
and reported score. Account switches keep rankings separate.
Standalone Shovey's Profile control on its covers opens the shared `entity.zx`
supplied by the Entity package. The host keeps account keys and native file
access behind Entity's versioned management service. Returning from Profile
+1 -1
View File
@@ -1 +1 @@
0.7.89
0.7.91
+6 -6
View File
@@ -13,8 +13,8 @@
"shovey": {
"id": "arcade.shovey",
"title": "Shovey",
"version": "0.6.154",
"sequence": 162,
"version": "0.6.155",
"sequence": 163,
"host_api": 12
},
"shovey-island": {
@@ -34,15 +34,15 @@
"arcade": {
"id": "inbe.arcade",
"title": "Arcade",
"version": "0.7.89",
"sequence": 168,
"version": "0.7.91",
"sequence": 170,
"host_api": 36
},
"wurm": {
"id": "xyz.waozi.wurm",
"title": "Apfelwurm",
"version": "0.2.1",
"sequence": 8,
"version": "0.2.2",
"sequence": 9,
"host_api": 12
}
}
+31 -1
View File
@@ -43,6 +43,7 @@ Codec :: #import "apps/node_codec";
#import "entity/publications_read"
#import "entity/entity_records"
#import "entity/entity_dew"
#import "entity/leaderboard_native"
#import "kryon/widget_palette"
#import "kryon/image_raster"
#import "kryon/loading_indicator"
@@ -133,7 +134,7 @@ CollectionAllows :: (context: *void, node: *AppNode, name: string) -> bool {
name == "tile_map.sampling" || name == "arcade.controls" || name == "arcade.sound" || name == "arcade.navigation" ||
name == "arcade.updates" ||
name == PUBLICATIONS_READ_SERVICE || name == ENTITY_RECORDS_SERVICE || name == ENTITY_DEW_SERVICE ||
name == "entity.profile"
name == "entity.profile" || name == "leaderboard"
}
CollectionCall :: (context: *void, node: *AppNode, module: *u8, function: *u8,
@@ -176,6 +177,12 @@ CollectionCall :: (context: *void, node: *AppNode, module: *u8, function: *u8,
HostScalarValid(arguments[1], "string", cast(s32)HostString) {
service := AppArgumentText(arguments[0])
request := AppArgumentText(arguments[1])
if service == "leaderboard" {
saved := EntityLeaderboardReport("arcade", "Arcade", TextUntilNul(node.identity.id[:]),
TextUntilNul(node.entry.title[:]), request)
result.* = AppHostText(ifx saved then "{\"status\":\"saved\"}" else "{\"status\":\"rejected\"}")
return 1
}
// Public level collections, such as a game's live campaign.
if service == PUBLICATIONS_READ_SERVICE {
result.* = AppHostText(PublicationsReadAnswer(request))
@@ -322,6 +329,27 @@ CollectionWidgets :: (context: *void, node: *AppNode, module: *u8, function: *u8
return WidgetHostCall(context, module, function, arguments, count, result)
}
// Check the same saved install state and verified download plan as Apps.
// A cached payload or an old score alone is never installed membership.
CollectionLeaderboardInstalled :: (game: string) -> bool {
if !collection_ready { return false }
for slot: cast(s64)0..collection_host.tree.nodes.count - 1 {
parent := collection_host.tree.nodes[slot].node
if parent == null || !parent.collection { continue }
index := AppCatalogFind(*parent.catalog, game)
if index < 0 { continue }
entry := AppCatalogAt(*parent.catalog, index)
identity := AppIdentity.{.authority = parent.identity.authority, .id = entry.id}
state: AppState
plan: AppInstallPlan
if CollectionState(null, "local", *identity, *state) && state.installed &&
AppHostInstallPlan(*collection_host, parent, entry, *plan) && plan.count == 0 {
return true
}
}
return false
}
CollectionSave :: (context: *void, node: *AppNode) -> bool {
saved := collection_records
while saved != null {
@@ -400,6 +428,7 @@ CollectionController :: (context: *void) -> HostedAsset {
CollectionOpen :: (bundle: string, digest: string, harness_digest: string,
data: string, locale: string) -> bool {
if collection_ready { return false }
leaderboard_installed = CollectionLeaderboardInstalled
collection_directory = data
collection_resource_root = Join(data, "resources")
opened := AppFilesOpen(*collection_resources, collection_resource_root)
@@ -466,6 +495,7 @@ CollectionOpenShovey :: (directory: string, data: string) -> bool {
CollectionOpenShoveyBytes :: (bytes: string, metadata: string, data: string) -> bool {
if collection_ready { return false }
leaderboard_installed = CollectionLeaderboardInstalled
id: [128]u8
digest: [65]u8
harness: [65]u8
+23
View File
@@ -224,6 +224,12 @@ def main():
driver.press(label='Profile', role='button')
driver.wait(label='Account', role='text')
capture(child, 'arcade-profile')
driver.press(label='Leaderboard', role='button')
driver.wait(label='Leaderboard', role='text')
driver.wait(label='No leaderboard data yet.', role='text')
capture(child, 'leaderboard-empty')
driver.press(label='Back', role='button')
driver.wait(label='Account', role='text')
driver.press(label="Back", role="button")
driver.wait(label='Shovey', role='button')
assert not [path for path in (profile / 'resources/downloads').glob('*.zx') if path.stem in games]
@@ -261,6 +267,23 @@ def main():
saved = wait(lambda: record.read_bytes() if record.exists() else None, "Classic did not save")
driver.press(label="Back", role="button")
driver.wait(label="Shovey Editor", role="button")
driver.press(label='Profile', role='button')
driver.press(label='Leaderboard', role='button')
driver.wait(label='Shovey', role='button')
assert not driver.find(label='Apfelwurm', role='button'), 'An undownloaded game has a board'
assert not driver.find(label='Shovey Editor', role='button'), 'An unranked editor has a board'
capture(child, 'leaderboard-installed')
state = profile / 'resources/state/arcade.shovey.json'
state.parent.mkdir(parents=True, exist_ok=True)
state.write_text('{"v":1,"installed":0,"favorite":0}')
driver.wait(label='No leaderboard data yet.', role='text')
assert not driver.find(label='Shovey', role='button'), 'A retained score kept an uninstalled board visible'
state.write_text('{"v":1,"installed":1,"favorite":0}')
driver.wait(label='Shovey', role='button')
driver.press(label='Back', role='button')
driver.wait(label='Account', role='text')
driver.press(label='Back', role='button')
driver.wait(label='Shovey Editor', role='button')
assert not driver.find(label=sizes["shovey"], role="text"), "Installed games must omit their download size"
driver.press(label="Shovey Editor", role="button")
driver.wait(label='Download size: ' + sizes['shovey-editor'], role='text')
+67 -66
View File
@@ -1,22 +1,6 @@
{
"format": 1,
"packages": [
{
"commit": "dc1cfe389905c63c0bb453727d06d72afc1fa0b0",
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p78e3cb7d22b3e56c"},
"id": "p00b93f1ddcd2802f",
"name": "Apps",
"ref": "master",
"url": "https://github.com/waozixyz/apps.git"
},
{
"commit": "90a3e7d9b1b9ef6a7f5eab7aff55eba3353e604e",
"dependencies": {"apps": "p00b93f1ddcd2802f", "entity": "p4d0db653f861a40d", "kryon": "p78e3cb7d22b3e56c", "mingcute": "pe1027b9d16704793"},
"id": "p08f35f0240dbbdff",
"name": "Shovey",
"ref": "master",
"url": "https://github.com/waozixyz/shovey.git"
},
{
"commit": "b31299434c785d0f2bd82f36b5bfd2fd36ba1216",
"dependencies": {},
@@ -34,47 +18,55 @@
"ref": "master",
"url": "https://github.com/ziranlang/qrcode.git"
},
{
"commit": "818916db6cbd42034bf869899feb75be8829d42e",
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p3127065409ca96f6"},
"id": "p15331309f570593d",
"name": "Apps",
"ref": "master",
"url": "https://github.com/waozixyz/apps.git"
},
{
"commit": "d74348c2e288ac55740461f7e106cda365b4db4a",
"dependencies": {"apps": "p15331309f570593d", "crypto": "pc23fbf455e97614d", "curl": "p1ca0e8d3c19dbe4c", "daochi_client": "p9972fcdd2d5ba999", "entity": "p52862c0351d05875", "game2d": "pf2f54c7603f6e861", "kryon": "p3127065409ca96f6", "kss": "p1b13dda539ed2a39", "liboqs": "p4b0a50b49959e674", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p9079dde0fcc11248", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "p1d80baafaa5fa18a"},
"id": "p183b01bccc6424e7",
"name": "Inbe",
"ref": "master",
"url": "https://github.com/waozixyz/inbe.git"
},
{
"commit": "1cb9df183089a77c8a16448a556186f30b261a98",
"dependencies": {"kryon": "p78e3cb7d22b3e56c"},
"dependencies": {"kryon": "p3127065409ca96f6"},
"id": "p1b13dda539ed2a39",
"name": "Kss",
"ref": "master",
"url": "https://github.com/kryonlabs/kss.git"
},
{
"commit": "bad2caaa84ef3eae61e40c99bf572d2b060d0ca2",
"dependencies": {"kryon": "p78e3cb7d22b3e56c"},
"id": "p20eb23d3e6db3711",
"name": "Game2D",
"ref": "master",
"url": "https://github.com/kryonlabs/game2d.git"
},
{
"commit": "1f3e5e763dbee918ae8f8c44b84bb98f8d0fa2d6",
"commit": "19b299005fbe2d895f4ad525cfdae62a2220c3ea",
"dependencies": {},
"id": "p219661bf4be659ed",
"name": "sqlite",
"ref": "master",
"source": true,
"url": "https://github.com/sqlite/sqlite.git"
},
{
"commit": "eb2b201a2da3bfc6fefd7ff2d8e476e3cb9e5bcb",
"dependencies": {},
"id": "p2f75403ea4cb61e4",
"id": "p1ca0e8d3c19dbe4c",
"name": "curl",
"ref": "master",
"source": true,
"url": "https://github.com/curl/curl.git"
},
{
"commit": "2f6f1f57d7de742ef7ebc01159c2315acf793d5b",
"dependencies": {"apps": "p00b93f1ddcd2802f", "crypto": "pc23fbf455e97614d", "curl": "p2f75403ea4cb61e4", "daochi_client": "p9972fcdd2d5ba999", "game2d": "p20eb23d3e6db3711", "kryon": "p78e3cb7d22b3e56c", "kss": "p1b13dda539ed2a39", "liboqs": "p4b0a50b49959e674", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "self": "pa4da0de6c3c44e61", "sqlite": "p219661bf4be659ed"},
"id": "p48228a6b7e2920d3",
"name": "Inbe",
"commit": "5d1ee888094efc63d1fb25a58af93478b103d441",
"dependencies": {},
"id": "p1d80baafaa5fa18a",
"name": "sqlite",
"ref": "master",
"url": "https://github.com/waozixyz/inbe.git"
"source": true,
"url": "https://github.com/sqlite/sqlite.git"
},
{
"commit": "0931212f92d5f1a3f8b1be80abab7a9695bda50e",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p3127065409ca96f6",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "e1f480f382d9443c4412133b55948374c77a5c21",
@@ -86,9 +78,9 @@
"url": "https://github.com/open-quantum-safe/liboqs.git"
},
{
"commit": "91ef8713174a1d88106dd8ea2293ef8d46f8ee66",
"dependencies": {"daochi_client": "p9972fcdd2d5ba999", "kryon": "p78e3cb7d22b3e56c", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "p4d0db653f861a40d",
"commit": "ca637d08b0d6b54ab6bb56bbfd9a25d7fb70f56c",
"dependencies": {"daochi_client": "p9972fcdd2d5ba999", "kryon": "p3127065409ca96f6", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "p52862c0351d05875",
"name": "Entity",
"ref": "master",
"url": "https://github.com/waozixyz/entity.git"
@@ -110,14 +102,6 @@
"ref": "master",
"url": "https://github.com/ziranlang/oqs.git"
},
{
"commit": "1fd45c1fea2e76e69cac0e09f774e6f63ed75eff",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p78e3cb7d22b3e56c",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "f5f0a19a5dc6c14a49adb3cd63ea79a60f6ba77b",
"dependencies": {},
@@ -127,6 +111,15 @@
"source": true,
"url": "https://github.com/LoupVaillant/Monocypher.git"
},
{
"commit": "8b81994303400255ddb0ee2da49044dbaef4397f",
"dependencies": {},
"id": "p9079dde0fcc11248",
"name": "practices",
"ref": "master",
"source": true,
"url": "https://github.com/waozixyz/practices.git"
},
{
"commit": "25d9f649c43a8de44a5fea602d2835e33e6ca999",
"dependencies": {"crypto": "pc23fbf455e97614d", "oqs": "p7098ac9cd92f7e5f"},
@@ -135,22 +128,22 @@
"ref": "master",
"url": "https://github.com/ziranlang/daochi-client.git"
},
{
"commit": "357a71d1ee2c7c9526c2af18793ea8628c505034",
"dependencies": {"daochi_client": "p9972fcdd2d5ba999", "kryon": "p78e3cb7d22b3e56c", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "pa4da0de6c3c44e61",
"name": "Self",
"ref": "master",
"url": "https://github.com/waozixyz/self.git"
},
{
"commit": "3f888653b6b97010163d824c4cc72476be3214f3",
"dependencies": {"kryon": "p78e3cb7d22b3e56c"},
"dependencies": {"kryon": "p3127065409ca96f6"},
"id": "pab5377a2950368a2",
"name": "plot",
"ref": "master",
"url": "https://github.com/kryonlabs/plot.git"
},
{
"commit": "b16edce6913dc708d7b56c9b1759ab17cdd1b6e3",
"dependencies": {"apps": "p15331309f570593d", "entity": "p52862c0351d05875", "kryon": "p3127065409ca96f6", "mingcute": "pe1027b9d16704793"},
"id": "pb7670046fce2454f",
"name": "Shovey",
"ref": "b16edce6913dc708d7b56c9b1759ab17cdd1b6e3",
"url": "https://github.com/waozixyz/shovey.git"
},
{
"commit": "944826f70779a6b6cd53f6b06a75b36f4d8a2558",
"dependencies": {},
@@ -168,16 +161,24 @@
"url": "https://github.com/kryonlabs/mingcute.git"
},
{
"commit": "941c0c1b73ad14b1f03320d181c118057a0c3e0f",
"dependencies": {"apps": "p00b93f1ddcd2802f", "entity": "p4d0db653f861a40d", "kryon": "p78e3cb7d22b3e56c", "mingcute": "pe1027b9d16704793"},
"id": "pf9d3669c06454dfb",
"commit": "3cead1f21720258c0acffa84c8625579d68c3a9e",
"dependencies": {"apps": "p15331309f570593d", "entity": "p52862c0351d05875", "kryon": "p3127065409ca96f6", "mingcute": "pe1027b9d16704793"},
"id": "peafb3c123b12e97a",
"name": "Apfelwurm",
"ref": "941c0c1b73ad14b1f03320d181c118057a0c3e0f",
"ref": "3cead1f21720258c0acffa84c8625579d68c3a9e",
"url": "https://github.com/waozixyz/wurm.git"
},
{
"commit": "cee04692f3461dcb098833472f071c434980debb",
"dependencies": {"kryon": "p3127065409ca96f6"},
"id": "pf2f54c7603f6e861",
"name": "Game2D",
"ref": "master",
"url": "https://github.com/kryonlabs/game2d.git"
}
],
"root": {
"dependencies": {"apps": "p00b93f1ddcd2802f", "entity": "p4d0db653f861a40d", "inbe": "p48228a6b7e2920d3", "kryon": "p78e3cb7d22b3e56c", "mingcute": "pe1027b9d16704793", "shovey": "p08f35f0240dbbdff", "wurm": "pf9d3669c06454dfb"},
"dependencies": {"apps": "p15331309f570593d", "entity": "p52862c0351d05875", "inbe": "p183b01bccc6424e7", "kryon": "p3127065409ca96f6", "mingcute": "pe1027b9d16704793", "shovey": "pb7670046fce2454f", "wurm": "peafb3c123b12e97a"},
"name": "Arcade"
},
"toolchain": {
+2 -2
View File
@@ -39,7 +39,7 @@ ref = "master"
# Shovey's editions and editor are available as separate downloads.
[dependencies.shovey]
git = "https://github.com/waozixyz/shovey.git"
ref = "master"
ref = "b16edce6913dc708d7b56c9b1759ab17cdd1b6e3"
# Compatibility tooling runs Inner Breeze's host checks; releases check its publisher pins.
[dependencies.inbe]
@@ -56,4 +56,4 @@ ref = "master"
[dependencies.wurm]
git = "https://github.com/waozixyz/wurm.git"
ref = "941c0c1b73ad14b1f03320d181c118057a0c3e0f"
ref = "3cead1f21720258c0acffa84c8625579d68c3a9e"