2048
by OXT-Beyond contributors
- Opens or saves files
Plays right here in your browser, boxed in: it cannot reach your files or your computer. How that works.
About this stack
Slide the tiles and join the ones that match until you reach 2048. Moves are animated and there is an undo for the slip of a finger.
What this stack uses
- Opens or saves files. It keeps things in files. In your browser these stay inside the page and are gone when you close it.
For xTalk developers: how it is built
- 2048 (2048.oxtstack): 101 objects, 971 lines of script, with 1 substack
Opens or saves files
- card id 1002 (card 1), line 500
put specialFolderPath("documents") into tFolder - card id 1002 (card 1), line 502
put specialFolderPath("temporary") & "/oxt-2048" into tFolder - card id 1002 (card 1), line 504
if there is not a folder tFolder then create folder tFolder - card id 1002 (card 1), line 510
put word 1 of url ("file:" & tfBestPath()) into tBest - card id 1002 (card 1), line 516
put pBest into url ("file:" & tfBestPath())
The labels come from the checker, which reads every script without running any of it. Read all the scripts.
Open it in OXT-Beyond
- Download it (36 KB)
- Unzip the file you get.
- Open 2048.oxtstack in OXT-Beyond with File > Open Stack... and change anything you like.
A stack you open on your own computer is no longer boxed in: it can do what any program can. Open stacks only from people you trust, and read the scripts first.



