Repository navigation
Own backend: the game's tables (step 6) - #46
Merged
Merged
Conversation
stats() and memory.* cells are at addresses known when built: a read is the cell's bits of its dword, moved down (the group entry now on masked fields too); a write a Set Deaths into the dword, masked for a byte, word or bit, its amount a place of the value. A name is its text's string number; a top speed goes through the type's flingy, the writes naming their dwords by a place of it. Ledger: step 6 50/50 (five local.* reads of step 12 among them). probes/own-memory.ts: every line ok both ways; 200 word reads 0.092 ms vs 0.140, 200 writes 0.040 vs 0.188. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BwPs2Ya2X9rB9TYHijfoom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 6 of the way off eudplib (
docs/v4-plan.md: "The game's tables on our own backend"):stats()tables read and written (unit types, weapons, upgrades, techs, players),memory.game/.map/.vision, and thelocal.*reads.Every cell is at an address known when built, so this builds on step 5:
Ledger: step 6 0/47 → 50/50. The five
local.*rows of step 12 build now and are relabelled step 6. Each prints the same as eudplib's build in the lifted game.Lifted game, ms (ours / eudplib): start + checks 0.025 / 1.167; 200 word reads 0.092 / 0.140; 200 writes from a value 0.040 / 0.188. Every line of
probes/own-memory.tsis ok in both builds; the flingy fields are identical to eudplib's, and the unit name's string reads back "Space Marine".Suite 1261 pass.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BwPs2Ya2X9rB9TYHijfoom