Compare commits

...
3 Commits
Author SHA1 Message Date
waozi b9ca6de322 Release Apfelwurm 0.2.4: the browser game fills the page 2026-10-27 16:05:44 -03:00
waozi 1562681f0a Release Apfelwurm 0.2.3: Top up opens dew.waozi.xyz 2026-10-27 14:29:53 -03:00
waozi 5fdb457f8e Start Arcade's game update as soon as Apfelwurm publishes a release
GitHub runs scheduled workflows hours late, so the release now starts
Arcade's Game updates directly with RELEASE_FOLLOW_TOKEN, a token that may
only start workflows. Without it Arcade's timer still follows.
2026-10-27 13:20:33 -03:00
6 changed files with 31 additions and 13 deletions

No files matched your search

+13
View File
@@ -152,3 +152,16 @@ jobs:
fi
gh release upload "$tag" "build/downloads/wurm-v$VERSION.apk" "build/downloads/wurm-$VERSION-fdroid.apk" "build/downloads/wurm-web-v$VERSION.zip" --clobber
gh release edit "$tag" --draft=false --latest
# Arcade follows this release now, not at its next timer, and Breeze
# then publishes it to the node. RELEASE_FOLLOW_TOKEN may only start
# workflows in Arcade and Breeze; Game updates takes no input and finds
# the newest game releases itself. Without it Arcade's timer follows.
- name: Start Arcade's game update
env:
GH_TOKEN: ${{ secrets.RELEASE_FOLLOW_TOKEN }}
run: |
if [ -z "$GH_TOKEN" ]; then
echo "No RELEASE_FOLLOW_TOKEN: Arcade's Game updates picks this release up on its timer."
exit 0
fi
gh workflow run game-updates.yml -R waozixyz/arcade --ref master
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## [0.2.4] - 2026-10-27
- Play on the whole page at wurm.waozi.xyz, without a title bar above the game.
## [0.2.3] - 2026-10-27
- Top up in the Profile opens dew.waozi.xyz, where you can buy Dew with Monero in any amount or with almost any other coin.
## [0.2.2] - 2026-10-27
- Set an account alias with capitals, an @ or spaces; a taken alias now says so.
+1 -4
View File
@@ -13,14 +13,11 @@
<meta property="og:url" content="https://wurm.waozi.xyz/">
<style>
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:#202b26;color:#e0e7d9;font:16px system-ui,sans-serif;overscroll-behavior:none}
body{display:flex;flex-direction:column}header{height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 max(16px,env(safe-area-inset-right));background:#303c33;border-bottom:1px solid #52634f}
a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}nav{display:flex;gap:20px;font-size:14px}#canvas-frame{flex:1;min-height:0;position:relative}canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}
body{overflow:hidden}#canvas-frame{position:fixed;inset:0}canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}
#loading{position:absolute;inset:0;display:grid;place-content:center;gap:16px;text-align:center;background:linear-gradient(#303c33e8,#202b26e8),url('assets/art/title.png') center/cover;font-size:18px}#loading strong{font-size:32px}#loading[hidden]{display:none}
@media(max-width:500px){header{height:42px}nav{gap:12px;font-size:12px}}
</style>
</head>
<body>
<header><a href="https://waozi.xyz/studio/#apfelwurm"><strong>Apfelwurm</strong> · Waozi</a><nav><a href="https://github.com/waozixyz/wurm/releases/latest">Android</a><a href="https://github.com/waozixyz/wurm">Source</a><a href="privacy.html">Privacy</a></nav></header>
<main id="canvas-frame"><canvas id="canvas" tabindex="0" aria-label="Apfelwurm game: choose swipe or direction pad, collect apples, then leave through the top gate."></canvas><div id="loading" role="status"><strong>A little worm.<br>A long journey.</strong><span>Opening Apfelwurm…</span></div></main>
<script>
var Module={canvas:document.getElementById('canvas'),onRuntimeInitialized(){document.getElementById('loading').hidden=true;Module.canvas.focus()},onAbort(){document.getElementById('loading').hidden=false;document.getElementById('loading').textContent='The game could not open. Please reload to try again.'},printErr(text){console.error(text)}};
+4 -4
View File
@@ -26,8 +26,8 @@ try{
const click=async(x,y)=>{await command('Input.dispatchMouseEvent',{type:'mouseMoved',x,y});await delay(80);await command('Input.dispatchMouseEvent',{type:'mousePressed',x,y,button:'left',clickCount:1});await delay(80);await command('Input.dispatchMouseEvent',{type:'mouseReleased',x,y,button:'left',clickCount:1});await delay(180);};
await until("typeof Module!=='undefined' && Module.FS && document.getElementById('loading').hidden");await until("(()=>{try{return Module.FS.stat('/kryon-apps').mode>0}catch{return false}})()");await delay(1800);await capture('title');
const colorful=await evaluate("(()=>{const c=document.getElementById('canvas'),p=c.getContext('2d').getImageData(0,0,c.width,c.height).data,s=new Set();for(let i=0;i<p.length;i+=80)s.add(p[i]+','+p[i+1]+','+p[i+2]);return s.size})()");if(colorful<200)throw new Error('Title artwork did not render: '+colorful);
await click(1018,82);await delay(400);await capture('profile');await click(48,78);await delay(200);
await click(1066,82);await delay(200);await capture('settings');await key('Escape',27);
await click(1018,34);await delay(400);await capture('profile');await click(48,30);await delay(200);
await click(1066,34);await delay(200);await capture('settings');await key('Escape',27);
await key('Enter',13);await delay(200);await capture('controls');await key('1',49);await until("(()=>{try{return Module.FS.readFile('/kryon-apps/wurm/controls.dat')[0]===0}catch{return false}})()");await delay(300);await capture('level-1');
await key('ArrowRight',39);await delay(150);await key(' ',32);await capture('playing');
await command('Emulation.setDeviceMetricsOverride',{width:390,height:844,deviceScaleFactor:1,mobile:true});await delay(400);await capture('portrait');
@@ -61,9 +61,9 @@ try{
if(await gridFingerprint()===beforeScroll)throw new Error('Browser selector did not scroll under touch drag');
if(!await evaluate("Module.FS.readFile('/kryon-apps/wurm/run.dat')[0]===57"))throw new Error('Dragging the selector started a level');
await capture('level-selector-scrolled');
await click(354,138);await click(90,280); // Future Pinewood shows only locks.
await click(354,96);await click(90,238); // Future Pinewood shows only locks.
if(!await evaluate("Module.FS.readFile('/kryon-apps/wurm/run.dat')[0]===57"))throw new Error('A locked browser level started');
await capture('locked-levels');await click(36,138);await click(90,280);
await capture('locked-levels');await click(36,96);await click(90,238);
await until("JSON.stringify(Array.from(Module.FS.readFile('/kryon-apps/wurm/run.dat')))==='[40,3,0,0,0,0]'");
if(!await evaluate("Module.FS.readFile('/kryon-apps/wurm/unlocked.dat')[0]===57"))throw new Error('Level selection erased progress');
await key(' ',32);await key('q',81);await key('l',76);await key('Escape',27);await key('c',67);
+2 -2
View File
@@ -1,4 +1,4 @@
{
"version": "0.2.2",
"version_code": 12
"version": "0.2.4",
"version_code": 14
}
+3 -3
View File
@@ -35,9 +35,9 @@
"url": "https://github.com/open-quantum-safe/liboqs.git"
},
{
"commit": "ca637d08b0d6b54ab6bb56bbfd9a25d7fb70f56c",
"commit": "1b46c4f2c750300cb1c5c46e203e14691571a72c",
"dependencies": {"daochi_client": "p9972fcdd2d5ba999", "kryon": "p3127065409ca96f6", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "p52862c0351d05875",
"id": "pc231a4f8596eb9ca",
"name": "Entity",
"ref": "master",
"url": "https://github.com/waozixyz/entity.git"
@@ -94,7 +94,7 @@
}
],
"root": {
"dependencies": {"apps": "p00b93f1ddcd2802f", "entity": "p52862c0351d05875", "kryon": "p3127065409ca96f6", "mingcute": "pe1027b9d16704793"},
"dependencies": {"apps": "p00b93f1ddcd2802f", "entity": "pc231a4f8596eb9ca", "kryon": "p3127065409ca96f6", "mingcute": "pe1027b9d16704793"},
"name": "Apfelwurm"
},
"toolchain": {