first game attempt: learning exercise