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.
Ctrl+S: Shortcut for saving a puzzleCtrl+O: Shortcut for opening a puzzle1-9: Put down a number at the current cell0: Clear cellUp/Down/Left/Right: Move around the cell cursor (you can also just click with your mouse)Shift+Up: Decrease the height of the boardShift+Down: Increase the height of the boardShift+Left: Decrease the width of the boardShift+Right: Increase the width of the boardPgUp: Increase board size by 0.5PgDown: Decrease board size by 0.5
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:
- Puzzle version (only 1 for now)
- Board width
- Board height
- 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