Skip to content

2048 Board Game implemented in Assembly language for the 8088 processor!

Notifications You must be signed in to change notification settings

Mabdullahatif/2048_BoardGame_Assemblyx88

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

2048 Board Game in Assembly Language (8088 Processor)

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.

Table of Contents

Introduction

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.

Interface

  • Welcome Screen:
    Welcome Screen

  • Main Screen:
    Main Screen

  • Ending Screen:
    Ending Screen

Prerequisites

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.

Getting Started

Setting Up DOSBox

  1. Download and install DOSBox on your system.

Running the Game

  1. Clone this repository to your local machine:
git clone https://github.com/Mabdullahatif/2048_BoardGame_Assemblyx88.git

  1. Navigate to the project directory:
cd 2048_BoardGame_Assemblyx88

  1. Launch DOSBox and mount the project directory. Replace path-to-project with the actual path to the project directory:
mount c 2048_BoardGame_Assemblyx88

  1. Switch to the mounted drive:
c:

  1. Run the game executable:
2048.com

Playing the Game

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.

Controls

  • 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.

Game Rules

  • 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.

Acknowledgments

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.

Contributing

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!

Initial Contributor

So far, all the work in this repository is purely done by me.

LinkedIn             Facebook             Instagram             Twitter

                                                                                           

About

2048 Board Game implemented in Assembly language for the 8088 processor!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published