StefanSchade / TaleForge

Text Adventure Logic Engine - A plattform to create immersive games without coding
0 stars 0 forks source link

UC Move Player: Setup Port (and some kind of implementation) #5

Closed StefanSchade closed 3 months ago

StefanSchade commented 3 months ago

When dealing with issue #2 it became apparant that the domain needs access to a repository that is not yet implemented.

StefanSchade commented 3 months ago

We have to populate the in memory repo with test data as well - we will use a helper function reading the data from file

StefanSchade commented 3 months ago

code compiles and dummy endpoint

POST localhost:8080/player/move

with content

{ "direction": "north" }

gives 200 OK