

Thanks! What do you mean about smartphones, can you share what phone OS and browser you are using? It should work on Android (Firefox/Chrome) and iOS (Safari), I consider mobile to be just as important as desktop. Ah, I remember some FOSS mobile browsers have WebAssembly disabled… here is an older version compiled to JS instead of WASM, let me know if that works: https://alexbarry.net/dev/games/reversi-ai2-no-wasm-2025-01-05/
In hindsight I should add some browser side detection of if WASM is supported, then show a warning at least, if not redirect to a JS version.
And yes, it’s all one big code base (https://github.com/alexbarry/AlexGames), each game is pretty small though, maybe 500-1000 lines of Lua on average: https://github.com/alexbarry/AlexGames/tree/main/src/lua_scripts/games . Overall it’s quite simple, the Lua/Rust APIs just call simple browser APIs to draw shapes and graphics. The harder part was being able to re-use the same code on Android and desktop (wxWidgets). Also I’m running into some WASM/browser limitations when trying to do heavy processing for board games AI.
I don’t host a Lemmy instance, but I post links in my comments. I sometimes generate and share unique-ish URLs to share updates with specific versions of my hobby projects. I’ve seen them queried a few times in my Apache logs by useragents claiming to be from OpenAI, Anthropic, etc. Also search engine crawler bots.
Here’s the IP whose useragent claimed to be an Anthropic bot, seems like others have encountered the same behaviour: https://abuseipdb.com/check/216.73.216.135