added game initializing and guess functions