Sentence:  Given a small ball or marbles , he would <WSD>invent</WSD> games and play by himself for hours . 
Meaning of the word marked with <WSD> tags:  come up with (an idea, plan, explanation, theory, or principle) after a mental effort