Zomis / flexgame-server

Started out as Monopoly, turned into everything. Obsolete and superseded by the Games repository.
Apache License 2.0
3 stars 0 forks source link

Inject which games should be available, in both tests and real application #7

Closed Zomis closed 2 years ago

Zomis commented 7 years ago

It needs to be possible to inject new GameHelper objects and their corresponding name.

Put this in some kind of bean (the name and the GameHelper) and inject a List<GameBean> into GenericGamesController ?

Zomis commented 7 years ago

It would also be nice if tests could have access to the GameHelper to adjust some things, such as adding new available AIs - or maybe those kind of tests should be at a lower level and inject it there.

Zomis commented 2 years ago

Ugh. Spring. 🤢