Throw as many knives as possible to the rotating wood. Fully commented source code.

Download project