Exeter Crown Court heard the youth armed himself with three claw hammers and waited for two boys to be asleep before attacking them.