Skip to content

QFSW/2048x86_64

Repository files navigation

2048x86_64 is the game 2048 written purely in x64 assembly

Playing

Download here

Use wasd to move the tiles along the grid, if two tiles of the same number touch, they'll merge

  • w : up
  • a : left
  • s : down
  • d : right

Try to get a 2048 tile, or go as high as you can! The game will end if every tile gets filled and you can't merge any tiles

Building

Open 2048x86_64.sln in Visual Studio and build the project

The entirity of the game is found underneath src if you would like to assemble it without Visual Studio

Notes

Assembled and tested with Visual Studio 2019 (MASM) under Windows 10 with a i7-4790k CPU

Likely works on all x64 CPUs (and possibly other operating systems) but not tested

External functions used:

  • putchar getchar
  • system