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. 🕹️
- 🔶 Classic Tetris gameplay mechanics
- 🎮 User controls for moving and rotating tetrominoes
- 💡 Random generation of tetromino shapes
- 📈 Basic scoring system
- ✏️ Simple graphics through text output
- 🛠️ NASM assembler (version 2.15 or later)
- 💻 DOSBox or another DOS-compatible environment for running the game
- 🖥️ An x86-based environment (physical or virtual)
-
Clone the repository:
git clone https://github.com/hassanj18/TetrisInAssembly
-
Assemble the Code in Dosbox nasm -f bin source.asm -o tetris.com
-
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