create game element init with input text