YayPlays

How to play

Factor Tree: Choose a level
1Choose a level
Factor Tree: In play
2In play

Controls

TapKeyboardSpace
  1. Tap a prime that divides the number.
  2. Tap ripe fruit to stop the tree for a moment.
  3. Keys: 2 3 5 7 and Space.

Factor Tree: all 30 trees factored with no wrong tap, never past a quarter of the way up

Every level was cleared on the first try with no wrong divisor, so all 30 earned three stars; the tree never grew past 25.5 % of its way to the clouds, far under the 45 % line for three stars. Over the run the script split 305 numbers with 865 divisor taps and picked 742 ripe fruits for combo time. It read only the number on the trunk and the prime buttons on screen; the stored factor list was never used. It acted every 0.45 seconds, a fixed pace standing in for a person's taps.

Split to 1

  • A number grows at the top of the tree. Tap a prime that divides it: the prime sprouts on a branch and the rest becomes the new top, until only 1 is left. Then the next number comes.
  • Every prime leaf turns into fruit that ripens. Tapping a ripe fruit starts COMBO TIME: the tree stops growing for 1.5 seconds (adding up to 5) and taps score double. Ripe fruit rots after a while.
  • A wrong divisor makes the tree jump up. If it reaches the clouds, the level is lost.
  • 30 levels: primes 2 and 3 first, then 5, 7, 11 and 13, more numbers and more factors. Stars by how high the tree got: under 45 % for three, under 70 % for two.
Level 8: SPLIT! on 98, four of seven numbers done, combo time 3.1 seconds at x2.
Level 8: SPLIT! on 98, four of seven numbers done, combo time 3.1 seconds at x2.

How the trees were cut

Every 0.45 seconds the script looked at the number on the trunk and the prime buttons, and pressed the smallest prime that divides the number (keys A, S, D, F, G, H by button position). Whenever a fruit was ripe, it pressed Space first to pick it (742 fruits over the run).

No tap was wrong in 30 levels. The table gives the splits per level and how high the tree got.

LevelsPrime buttonsNumbersOur splitsHighest tree (%)
1-32, 359-102.1-8.6
4-72, 3, 56-715-198.3-11.3
8-152 to 77-1020-3011.9-14.7
16-212 to 1111-1331-4315.9-19.8
22-302 to 1313-1435-4419.3-25.5
Level 16: 11 joins the buttons; a split leaves 3 at the top.
Level 16: 11 joins the buttons; a split leaves 3 at the top.

Picking first

With every ripe fruit picked at once, the trees stayed low. On level 21, 13 numbers took 43 splits and 38 fruits were picked on the way; the tree ended at 18.7 %. The last levels mix six primes and numbers like 847 (7 x 11 x 11) or 455 (5 x 7 x 13), and the tree still stayed under 26 %.

Level 30: 13 left at the top after a split; three of 14 numbers done.
Level 30: 13 left at the top after a split; three of 14 numbers done.

Splitting by hand

Try the small primes in order: an even number takes 2, a number whose digits add up to a multiple of 3 takes 3, one ending in 0 or 5 takes 5. Whatever survives 2, 3 and 5 is built from 7, 11 and 13: 49, 77, 91, 121, 143, 169. Pick ripe fruit as soon as it glows: each one buys 1.5 seconds of a still tree and double points.

Level 30: CLEAR! three stars, Fruit 38, 2,420 points.
Level 30: CLEAR! three stars, Fruit 38, 2,420 points.

Questions

Does the order of the primes matter?
No. Any prime that divides the number is right; the factors end up the same.
What happens on a wrong tap?
The tree jumps up; if it reaches the clouds, the level is lost.
How far did our run get?
All 30 levels at the first try, three stars each, with no wrong tap.

· Corrections log

Suggest an idea or report a problem

We keep only your message (and email, if given) to improve the games.