api requests. game flow