

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.
Ah, thanks for the feedback. Can you give me an idea of areas that I should improve? I tried to keep it simple, you should just be able to select a game and play, but maybe there is a pain point that I don’t notice anymore now that I’ve gotten used to it.