This repository contains an academic project developed for the Laboratórios de Informática II (LI2) course at the University of Minho.
The project implements a command-line program in C that allows users to play, validate, and solve a logic puzzle (hitori) based on symbol uniqueness, orthogonal adjacency rules, and connectivity constraints. The game was written in Portuguese.
makemake executarmake testar-
g
<file>– save the current game state -
l
<file>– load a game state from a file -
<coord>– select a cell (<column> <row>) -
b
<coord>– mark a cell as white (uppercase) -
r
<coord>– cross out a cell (#) -
v – verify all puzzle constraints
-
a – apply logical deductions once
-
A – apply deductions until no changes occur
-
R – solve the puzzle
-
d – undo the last action
-
s – exit the program