Release date: 2020-09-19
Big new feature:
- Implemented first two types of Achievement:
Cookie Amount achievements
&Cookies per Second achievements
.- Experimenting with the Observer design pattern for this one:
added observer pattern style notifications on Wallet->incrementCookieAmount
- Experimenting with the Observer design pattern for this one:
Improvements:
- Moved over construction of objects to main.cpp, now
better dependency injection. - Removed screen rendering code from
main game loop into its own View class,
eachView
can have one or moreViews
,
each view has at least arender()
andhandleInput()
method. Views could have views as wel, as subviews. - Display Cookienumbers more like javascript game,
with some numbers behind the comma. - Added coding style check (clang-format)
Bug fixes:
- Fix segfault when threading went haywire on starting.
- Fix crash when loading savegame with space in its name.