Skip to content

hassanj18/TetrisInAssembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Tetris Game in x86 Assembly

Overview

This is a simple implementation of the classic Tetris game, written in x86 Assembly language using the NASM assembler. The game is designed to run on DOS or DOS emulators and provides a fun way to experience Tetris while learning about low-level programming concepts. 🕹️

Features

  • 🔶 Classic Tetris gameplay mechanics
  • 🎮 User controls for moving and rotating tetrominoes
  • 💡 Random generation of tetromino shapes
  • 📈 Basic scoring system
  • ✏️ Simple graphics through text output

Requirements

  • 🛠️ NASM assembler (version 2.15 or later)
  • 💻 DOSBox or another DOS-compatible environment for running the game
  • 🖥️ An x86-based environment (physical or virtual)

Installation

  1. Clone the repository:

    git clone https://github.com/hassanj18/TetrisInAssembly
  2. Assemble the Code in Dosbox nasm -f bin source.asm -o tetris.com

  3. Run the Executable: tetris.com

Controls: 🔄 Arrow Keys: Left: Move tetromino left Right: Move tetromino right Contributing 🤝 Contributions are welcome! If you have any ideas or improvements, please feel free to fork the repository and submit a pull request. You can also report issues or suggest features

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published