Tensy

Puzzles are a new game mode in Tensy 1.1 allowing you to play static predefined game boards and solving them in logical ways. This game mode is an experimental feature - the level editor works well and you can save and load puzzle levels in it, but the game does not ship with any puzzle levels currently.

Puzzle editor controls

The editor is primarily keyboard-based, but you can open existing puzzles and play them using the buttons at the top without needing to touch a keyboard.

Puzzle file format

Tensy puzzles use the .tpz file extension and follow a simple text-based format. You can edit them in a text editor just as well as you can do it in the in-game level editor.

Format spec

Header:

  1. Puzzle version (only 1 for now)
  2. Board width
  3. Board height
  4. Board scale (integer, multiplied by 10. E.g. 25 becomes 2.5x board scale)

Then the board is printed out, from top to bottom, each line being a row. 0 denotes an empty cell while 1-9 denotes a number at that location. The entire board should be written out even if it’s completely empty.

Any deviations to this spec is undefined behaviour.

Format example

1
3
3
30
283
373
464