ExeBrowser

Run Windows .exe files in your browser. No install. No upload. Just WebAssembly + Wine.

Play Tents and trees puzzle (Tents) online Works — plays right here, unlimited puzzles

Guide updated October 2026 · Runs via WebAssembly (native port)

Tents (often called Tents and Trees) is a placement puzzle set on a campsite: each tree needs its own tent beside it, tents may not touch each other, and the numbers round the edge give how many tents are in each row and column. The puzzle is ready below; click an empty square to pitch a tent.

Controls — what does what
ActionKeyboardMouse / touch
Place a tentArrow keys to move, EnterLeft-click an empty square
Mark a square as grass (no tent)SpaceRight-click an empty square
Fill a stretch with grassShift+arrow (Ctrl+arrow also overwrites tents)Right-drag along a row or column
Clear a squareEnter or Space on itClick it with either button
Undo / redoU / R (or Ctrl+Z / Ctrl+R)Game menu buttons

Play next: Number shading puzzle (Singles) Caverns of Kroz II Region dividing puzzle (Palisade) 3D Pinball Space Cadet all 138 games →

FREE This is the complete game, free. Open source under the MIT licence: the complete puzzle, with a new grid every time.

Tents and trees puzzle (Tents) running in a browser tab via ExeBrowser
Tents and trees puzzle (Tents) running in the browser — no install, no upload.

Tents is from Simon Tatham's Portable Puzzle Collection, © Simon Tatham and contributors, used under the MIT licence. Built from source by scripts/build-puzzles.mjs.

How to play

Sizes and difficulty

Presets are 8×8, 10×10 and 15×15, each at Easy or Tricky. Neither level needs guessing; Tricky just needs more involved deductions.

Solving tips

Mark as grass every square that does not touch a tree orthogonally, and fill lines with a 0 clue straight away. When a row's tents are all placed, right-drag the rest of it to grass. A tree with only one free neighbour gets its tent there, and every square around a placed tent, diagonals included, becomes grass. Where a row needs k tents in a stretch that can only fit k non-touching tents, their positions are forced.

Where this puzzle comes from

Tents is part of Simon Tatham's Portable Puzzle Collection, a set of about forty logic puzzles written by Simon Tatham and contributors and released under the MIT licence. Every grid is generated on the spot, so the supply never runs out, and for the grid-logic puzzles the generator makes sure each has exactly one solution, reachable by reasoning rather than guessing. The version here is the collection's own code compiled to WebAssembly; the Game menu can save a puzzle to a file and load it again, and the Type menu changes the size and difficulty.

Frequently asked questions

Can a tent be next to two trees?

Yes, it can touch several trees, but it counts as the tent for only one of them, and every tree must have its own tent.

Do I need to guess at the harder level?

No. Both Easy and Tricky can be solved by deduction alone.

Is Tents free to play here?

Yes, with no limit on the number of puzzles. Tents is open-source software under the MIT licence, and every grid is generated fresh when you press New game.

Does it work on a phone or tablet?

Yes. A tap works as a click and the puzzle resizes to fit the screen. Puzzles whose controls use the right mouse button are easier with a mouse.

More you can play in your browser

See all 138 titles you can play here →

One new retro game in your inbox each week

We add a game most weeks — free, legal, playable in the browser. No spam, unsubscribe in one click.

Related guides

Want a game like this on your own site?

Tents and trees puzzle (Tents) isn't ours to give away — we host it, we didn't write it. But eleven of the games here we did write from scratch, and those are free for anyone to put on their own page: one line of HTML, no account, no permission, no attribution beyond a credit line.

See the games you can embed