Wolfram Research

Function Repository Resource:

Play2048

Source Notebook

Play a game of 2048

Contributed by: Bob Sandheinrich

ResourceFunction["Play2048"][n]

creates a notebook containing an nn game of 2048.

Details and Options

Play using either the arrow keys or the w, a, s, d keys.

Examples

Basic Examples

Play a standard 4×4 game of 2048:

In[1]:=
ResourceFunction["Play2048"][]
Out[1]=

Scope

Play a 3×3 game:

In[2]:=
ResourceFunction["Play2048"][3]
Out[2]=

Play a 5×5 game:

In[3]:=
ResourceFunction["Play2048"][5]
Out[3]=

Requirements

Wolfram Language 11.3 (March 2018) or above

Resource History

Source Metadata

License Information