eLLM.space

Tetris Touch Project 

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

Gemma-4-26b-a4b-it - Tetris

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...

Gemma-4-26b-a4b-it - Tetris-mod

2026-Aug-15:

 

add touch control buttons

 

buttons does not show properly on mobile

Gemma-4-26b-a4b-it - Tetris-touch

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.

Muse-Glimmer-30b - Tetris-touch

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.

Qwen-3.8-27b - Tetra

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.

GPTOSS-20b - Tetris-touch

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

Gemma4-26b-a4b fixed GPTOSS-20b - Tetris-touch

2026-Aug-16:

 

Final release for this testing date - gemma4 fixed gptoss implementation, and then I added few more prompts to make buttons to my liking.