Rules that fit in one breath
Put 20 stones (or coins, or matches) in a pile. Two players take turns removing 1, 2 or 3 stones. Whoever takes the last stone wins. That is the whole game - and if the first player plays perfectly, the second player cannot win; if the pile started at a different size, the advantage flips in a way you can compute in seconds.
The secret number is 4 - one more than the maximum take. Whatever your opponent removes, you can remove the complement to 4: if they take 1, you take 3; if they take 2, you take 2; if they take 3, you take 1. Every pair of moves removes exactly 4 stones, so the pile lands on 16, 12, 8, 4 - and whoever controls that ladder controls the ending.
Why multiples of four are safe ground
Work backwards from the end. Facing a pile of 4, you lose against perfect play: whatever you take (1, 2 or 3), your opponent takes the rest and wins. So 4 is a losing position for the player to move - and therefore leaving 4 is the goal. The same logic climbs: 8 is losing because any move you make lets the opponent leave you 4; and so on up the ladder of multiples of 4.
So the strategy writes itself. If the pile is a multiple of 4, the second player mirrors complements and wins. If it is not, the first player takes the remainder - from 17, take 1 to leave 16 - and becomes the mirrorer. One warning: this is the version where the last move wins. In the misere version, where taking the last stone loses, the endgame flips and the strategy needs a small adjustment near the end.
Try it yourself
Play with 17 stones and take 1 immediately, then mirror every one of your opponent's moves to 4. Watch their confusion grow as the pile keeps landing on your numbers. Then be generous and teach them the ladder - the game becomes a duel of who spots non-multiples first.
For a glimpse of the deep version: full Nim uses several piles, and its winning strategy involves writing the pile sizes in binary and making the 'nim-sum' zero - the same binary counting you can do on your fingers. The one-pile game is the doorway to that beautiful machinery.

