Skip to content

mistekko/CLIcross

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLIcross

Picross in the terminal! This project is still a WIP but is entirely functional.

installation

There is an “install” make target; adjust PREFIX in Makefile to your liking and run make install.

usage

Invocation

After installing you should be able to invoke it with the program name and a path to a level file:

clicross path/to/level/levelname.pic

Controls:

  • `h’, `j’, `k’, `l’: move cursor
  • `m’ or `<SPACE>’: mark selected square
  • `x’: reject (cross out) selected square

Level syntax

Levels are normal ascii text files that represent each row of the board with a line of text, one character per cell; a `0’ corresponds to a blank square and a `1’ to a filled one. The parser also ignores the first and last lines and columns, but they MUST be used. This is so in order to allow for prettification of level files (see level.pic).

Todo

  • Support printing of hints in different radixes
  • Improve level selection:
    • add a bunch of official levels
    • establish canonical level folder
    • pretty interface for level selection
  • Add timer
  • Support inputs that begin with escape characters

About

Picross in the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published