DiscoverAI / pungi

Machine learning client for snake
MIT License
0 stars 0 forks source link

Create a new game #1

Open meandor opened 5 years ago

meandor commented 5 years ago

As an agent I want to be able to create a new snake game so that I can start using the newly create game to move around in

Acceptance Criteria

AC1

Given I have a working connection to the Snake backend When I start a new game via the agent Then the agent should have the game state of the newly created game as an environment it can move in

AC2

Given I have a working connection to the Snake backend When I try to create new games and errors occur (non 200 status from api) Then I should terminate the process by giving an error message: "could not create game"