Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 804 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 804 Bytes

game of 8

A simple puzzle game written in C, using the ncurses library for text-based graphics.

⚠️ Please note: these projects are not intended as useful products. They are exercises to test and expand my skills, as well as to deepen my knowledge in various areas of computer science.

Screenshot

Requirements

To build and run this game, you'll need the ncurses library installed on your system.

Installing ncurses library

On Debian/Ubuntu:

sudo apt-get install libncurses5-dev libncursesw5-dev

Running the Game

  1. Clone or download the repository to your local machine.

  2. Open a terminal in the project directory.

  3. Compile the game files with:

    gcc main.c fun.c -lncurses -o game_of_8
  4. Run the game

    ./game_of_8