Tents and Trees Puzzle Unblocked
Every tree gets one tent, no tent touches another, and the numbers must add up.
What is Tents and Trees Puzzle?
Tents and Trees Puzzle is a single-player logic grid about laying out a campsite. Each tree needs a tent sharing one of its sides, tents may never touch even diagonally, and numbers on the edges give the tent count for each row and column. The goal is a layout that satisfies every rule.
- Category
- Puzzle Games
- Players
- 1 player
- Plays on
- Phone, tablet & desktop
- Input
- Mouse, Keyboard, Touch
- Made by
- Simon Tatham
- Checked
Tents and Trees Puzzle makes you the manager of a very particular campsite. The trees are already planted on a grid, and each one wants a single tent of its own right beside it. Campers want privacy, so tents can never touch, not even corner to corner. Numbers under the grid and to its right give the tent total for every column and row. The result is a satisfying blend of pairing, spacing and counting. It is Tents from Simon Tatham’s puzzle collection, and you can play it unblocked straight from this page.
Campsite Rules
- A tent must share a side with its tree. Touching only at a corner does not count.
- Every tree must be paired with its own tent. Tents and trees always match one for one, though a single tent may happen to sit beside two trees.
- Tents can’t be neighbours at all, sideways, vertically or corner to corner.
- The number beside each row, and under each column, is the exact tent total for that line.
Satisfy all four and the grid flashes. Grass marks are your notebook: put grass on any square you have proved can’t hold a tent, and the board gets clearer with every mark.
Three preset sizes (8x8, 10x10, 15x15) come in an Easy and a Tricky version, with Custom for anything else.
Tents and Trees Puzzle controls
| To do this | Keyboard | Mouse | Touch |
|---|---|---|---|
| Pitch a tent or clear a square | Arrows to move, then Enter | Left-click a blank square | Tap a blank square |
| Mark grass or clear it | Space | Right-click a blank square | Press and hold a blank square |
| Grass a whole run of blank squares | Shift + arrows | Right-drag along a row or column | Press and hold, then slide along the line |
| Grass squares including tents | Ctrl + arrows | — | — |
| New puzzle, undo, redo | N, U, R | Buttons above the grid | Buttons above the grid |
Clearing the Ground First
Good solves usually start with grass, not tents.
Remove the obvious. If no tree shares a side with a square, that square is grass. On a fresh board this alone can cover a third of the grid.
Zero lines. Any line whose clue is 0 is entirely grass. Right-drag along it to fill it in one stroke.
Ring every tent. As soon as you place a tent, all eight surrounding squares become grass. Make this automatic.
Then Place Tents With Confidence
Lonely trees. When a tree has just one free neighbour, the tent goes there.
Exact fits. When a line still wants two tents and only two non-touching spots remain, fill both. If the spots are adjacent, only one of them can be.
Pairing conflicts. If two trees both depend on the same lone spot, only one can have it. One tree must find its tent somewhere else, which often settles a nearby square.
Check the totals often. Errors show up in red, but counting each row yourself as you go keeps mistakes from spreading.
Who Will Like It
This puzzle suits players who enjoy steady, methodical progress. Small Easy boards are relaxing, while a 15x15 Tricky campsite demands patience and careful bookkeeping. Drag-to-grass on both mouse and touch makes the big boards less tedious.
If you like placing objects under adjacency rules, Light Up Lamp Puzzle works in a similar way with lamps and walls. Magnet Dominoes is another counting puzzle with row and column totals.
Tents and Trees Puzzle: questions players ask
Can a tent be diagonal to its tree?
No. A tent has to share a full side with the tree it belongs to. Diagonal placement only matters for the other rule, which says no two tents may touch even at a corner.
Is it fine for a tent to touch two trees?
Yes. A tent can be next to several trees, as long as you could still pair every tree with a different tent. There are always exactly as many tents as trees.
What do red numbers mean in Tents and Trees Puzzle?
A red count means the line is overfull or can't hit its target any more. Red also flags tents that touch and groups of trees that can't each be given a separate tent.
Do Tricky boards need guessing?
No. Every board at either level can be finished with pure logic. Tricky just makes you string more steps together before a tent is certain.
Credits and license
Tents and Trees Puzzle was created by Simon Tatham and released as open source. FreezeNova hosts a lightly adapted copy on its own server, together with the original license file.
- Source code: git.tartarus.org/simon (original project)
- Code license: MIT
- Art & audio: MIT (all graphics are drawn by the game code; no images or audio)
- Our changes: Renamed for our site. The author's official web build is used with off-site links removed, fitted to the player, plus touch support for press and hold and dragging. The puzzle code is not modified.