implement CLI game
fixbug if dup number exists code, Array#delete is wrong...