Welcome to the 2048 Board Game implemented in Assembly language for the 8088 processor! This project aims to recreate the popular 2048 puzzle game using low-level Assembly language programming. The game can be run on DOSBox, providing a nostalgic experience of programming for vintage hardware.
- Introduction
- Interface
- Prerequisites
- Getting Started
- Playing the Game
- Controls
- Game Rules
- Acknowledgments
- Contributing
- Initial Contributor
This repository contains the source code and compiled binary for a 2048 board game implemented in Assembly language for the 8088 processor. The game provides a nostalgic experience of programming for vintage hardware and can be run using DOSBox.
Before you get started, make sure you have the following:
- DOSBox installed on your system.
- Basic understanding of Assembly language programming.
- A code editor to view and modify the source code.
- Download and install DOSBox on your system.
- Clone this repository to your local machine:
git clone https://github.com/Mabdullahatif/2048_BoardGame_Assemblyx88.git
- Navigate to the project directory:
cd 2048_BoardGame_Assemblyx88
- Launch DOSBox and mount the project directory. Replace
path-to-project
with the actual path to the project directory:
mount c 2048_BoardGame_Assemblyx88
- Switch to the mounted drive:
c:
- Run the game executable:
2048.com
Once you have the game running in DOSBox, follow these instructions to play:
- Use the arrow keys (Up, Down, Left, Right) to shift the tiles in the desired direction.
- Tiles with the same value will merge when they collide.
- Your goal is to create a tile with the value of 2048.
- Up Arrow: Shift tiles upwards.
- Down Arrow: Shift tiles downwards.
- Left Arrow: Shift tiles to the left.
- Right Arrow: Shift tiles to the right.
- Esc: Exit the game.
- Tiles with the same value merge into a single tile of double the value when they collide.
- After every move, a new tile with the value of 2 will appear on the board.
- The game ends when you successfully create a tile with the value of 2048, or there are no valid moves left.
This project is inspired by the original 2048 game created by Gabriele Cirulli. Special thanks to the Assembly language community for their resources and support.
Feel free to contribute to this project by submitting bug reports, feature requests, or pull requests. Let's keep the spirit of Assembly programming alive!
So far, all the work in this repository is purely done by me.