uniba-swt / swtbahn-cli

A client-server command line interface for the SWTbahn.
GNU General Public License v3.0
7 stars 3 forks source link

what board am I API endpoint #131

Open BLuedtke opened 5 months ago

BLuedtke commented 5 months ago

Add an endpoint that returns the name of the model railway (e.g., swtbahn-full).

This name is currently not defined in the config files; one workaround could be to use the name of the folder the config files are located in.

BLuedtke commented 5 months ago

Once this is done, open a new issue for adjusting the "game" client accordingly.

BLuedtke commented 5 months ago

This also has implications for the experimental-point-control branch/map controller, as that is currently hardcoded to swtbahn-full -> can be made more flexible.