Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

glfaria/LI2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hitori

Description

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.

How to Run

Compile the game

make

Run the game

make executar

Run tests

make testar

Available Commands

  • 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

About

Hitori puzzle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors