
Aug 2026 test local llm to create Tetris in javascript both for desktop and mobile/touch

2026-Aug-10:
in javascript with index.html create a game of tetris
30s later using LM Studio on Snapdragon X2 Elite Extreme 48GB ram...

2026-Aug-15:
add touch control buttons
buttons does not show properly on mobile

2026-Aug-15:
in javascript with index.html create a game of tetris that can be played on a touch screen device
again, very fast, after 25s of thinking, fully working version for desktop on first try.
after few iterations we came to the mobile version as well.

2026-Aug-15:
in javascript with index.html create a game of tetris that can be played on a touch screen device, optimize for mobile phone screens. At the top show score and lines, then tetris game board, and at the bottom touch buttons left, rotate, right, and in the next row: move down, and drop, which drops element all the way down.
It did follow prompt to optimize for the mobile screen estate that is tall and narrow, and threfore used width to determine scale for one tetris board square size.
However, that make it unusable on desktop, so two or three additional instructions were needed.

2026-Aug-15:
in javascript with index.html create a game of tetris that can be played on a touch screen device
Oh, boy, new qwen3.8-27b, what a "personality".
End result after several hours of corrections and mental tug-of-war to steer it into right direction.

2026-Aug-15:
in javascript with index.html create a game of tetris
The oldest model of all was the worst - game does not run properly, does not update/render, but it does accept key inputs, and when you look into the code it has set up touch event listeners.
Threfore, this version is ranked last

2026-Aug-16:
Gemma4 fixed* gptoss implementation, with few more prompts to make buttons to my liking.
*Not sure if it is a feature or a bug on android mobile where it waits until you press any button, on desktop starts right away.

2026-Aug-24:
Latest addition, does not overthink like Qwen 3.8, good in self error correction, which was needed since nothing worked at first try.
in javascript with index.html create a game of tetris that can be played on a touch screen device. At the top show score and lines, then tetris game board, and at the bottom touch buttons left, rotate, right, and in the next row: move down, and drop, which drops element all the way down. Make sure all buttons are always visible and to avoid possible errors on different screen resolutions add a scale buttons to scale per X and Y axis independently.