Skip to content

Myrrrca/saper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saper Game

Overview

This implementation of the classic game "Saper" is written in GAS (GNU Assembly) in 32-bit mode.

Saper Overview

Usage

Prerequisites

Before cloning and building the project, ensure you have the necessary libraries for building applications in 32-bit mode, such as glibc, libgcc, etc. If you are using Fedora Linux, you can install them with the following command:

sudo dnf install glibc-devel.i686 glibc.i686 libgcc.i686

Steps to Build and Run

  1. Clone the repository locally:
    • git clone https://github.com/Myrrrca/saper
  2. Use the Makefile commands to build the executable:
    • make saper (to build)
    • make clean (to remove the executable)
  3. Once built successfully, run the following command:
    • ./saper
  4. Simply type the column number and line number separated by space and press enter to make your guess

Features

  • Random field generation
  • Recursive opening of empty cells
  • You can actually win or lose
  • Displaying neighboring mines horizontally (I forgot that this rule exists -_-)
  • The ability to put "flags" on any cells to mark potential mines

Additional Information

About

A saper game made in GNU Assembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors