Recreated the 2014 game in x86 assembly over the course of ~12 days for a computer science project.
- Block Animation (Settling, Merging, Spawning)
- Score Counter
- Camera Shake
- Mouse interactions
- Buttons for toggling camerashake/animation
- UI Animations (logo, background particles, game over, menu transitions)
- Use DOSBOX with TASM installed and extracted to a directory.
- Place 2048.asm in the directory where TASM's BIN folder is.
- Assuming TASM is extracted to C:/, Enter the following lines: (everything with a = is optional, but recommended)
mount c: c:\
c:
cd yourdirectory
cycles = max
core = dynamic
output = openglnb
windowresolution = 1280x800
tasm 2048.asm /zi
tlink 2048.obj
2048
Alternatively, you can use the MASM-TASM extension for visual studio, in that case simply:
- Open the 2048.asm script in VSCode
- Right click, and select "Run ASM Code"
- (Optional) Make sure your settings are fine (if you are using DOSBOX-X, you can modify them from within the window, if not you can check the extension's settings and add to the default configuration).