Skip to content

Terminal based puzzle game in C with logging moves in file and clear screen feature.

Notifications You must be signed in to change notification settings

Arunkumar0258/Game-of-fifteen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game-of-fifteen

A mind-blowing puzzle game, commonly known as the "Game of Fifteen". This version is updated to support any board between 3x3 to 9x9.

The empty tile is represented by 0. And you can type any number adjacent to the empty tile (0) and the empty tile will move accordingly. The goal is to reverse the entire board or flip it.

As a extra feature, all your moves are logged into a file named log, which you can refer later to review your mistakes. The game also automatically refreshes after every move. This is done using the C ANSI Escape Sequences.

To quit the game, at any point, press 0 and enter

Usage: ./fifteen

where is any number between 3 to 9, corresponding to the nxn board to play with.

About

Terminal based puzzle game in C with logging moves in file and clear screen feature.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published