Range – Limit the Visible Distance with Black Squares – Puzzle Game



Range is played on a rectangular grid. Some of these cells have numbers in them. Each cell may be either black or white. The object is to determine what type each cell is.

Your job is to colour some of the squares black, such that several criteria are satisfied:

  • no square with a number is coloured black
  • no two black squares are adjacent (horizontally or vertically)
  • for any two white squares, there is a path between them using only white squares
  • for each square with a number, that number denotes the total number of white squares reachable from that square going in a straight line in any horizontal or vertical direction until hitting a wall or a black square; the square with the number is included in the total (once)

Range is an implementation of a puzzle game invented by Nikoli, a Japanese publisher that specializes in games and, particularly, logic puzzles.

Game modes:

  • 9×6
  • 12×8
  • 13×9
  • 16×11
  • Custom

Below is a short tutorial showing you how to download and compile the latest source code for this game, and the other 38 games in the puzzle collection. The tutorial takes place in Linux, using the Ubuntu 17.10 distribution, but the procedure will be the same, or very similar, for other Linux distributions. If you find the tutorial helpful, please give the video a like and subscribe to our YouTube channel.

Besides the main 3 operating system, the puzzle collection has also been ported by contributors to Palm, Android, Symbian 60, iPhone, iPad, and the Windows Store.

Homepage: www.chiark.greenend.org.uk/~sgtatham/puzzles/
Developer: Simon Tatham, Richard Boulton, James Harvey, Mike Pinna, Jonas Kölker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd Schmidt, Steffen Bauer, Lennard Sprong, and Rogier Goossens
License: MIT
Written in: C, Java, JavaScript

Back to the Puzzle Collection