Release date: 2021-
New features:
- Building upgrades
- Debian package available
- Boost libraries are now a compile option (otherwise an unsigned long long / long double is used, including overflow)
- Boost libraries are included in the project folder (to save you from installing dependencies)
- Windows Console support (vt100 escape codes)
Improvements
- Added Cookies via Input Achievement
- CMake has project and version info
- CMake main game is renamed from "Game" to "c_ookieclicker"
- CMake links to threads in a platform agnostic way
- CookieNumberPrinter suffixes are now closer to the original (javascript) version
- The Github Actions CI build compiles both with-boost and without-boost versions.
- Screen is only "rendered" if output has changed. This improves performance.
Bug fixes
The savegame format has been updated to version 2 for this release.
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
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,
each
View
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.
Release date: 2020-07-12
- Refactored price increase formula to match original javascript game
- Matches items, prices and cps with Javascript game
- Performance optimization for item price calculation (1/10/100)
- Events print seconds
- Multiple input charactes allowed (ex: cc gets 2 cookies)
- Refactored cookienumber to be a
cpp_dec_float
instead of int to allow for0.1
cookies per second.
Release date:
- Implemented save game function
- Allows game to be saved with
s
and if a save file is found in the current folder, loaded withl
.
- Allows game to be saved with
- Changed inventory no not hold
Item&
but juststd::string
- Fix static compilation by including the whole pthread library (
--whole-archive
)
Release date: 2020-05-30.
- Added input tab bar to make display less cluttered
- 1 = itemstore to buy one item;
- 2 = itemstore to buy the max amount items that your current cookie count allows
- 3 = show inventory
- 4 = show achievements (not built yet)
- Changed cookies per tap (
c
cursor) to be dynamic (default one) in preparation of achievements.
Release date: 2020-05-24.
- Added cookienumber printing in format used by other incremental games.
- Example:
1000000000000000000000
becomes1 sextillion
. - Example:
21341831944003682716936974836612280224172215802627435299099076055022090949593824685640853139456777002501904985670414671748540291630152113086259344562839841917575524836560787544358350755299402239335813148535474932165751
becomes21xx
.
- Example:
Release date: 2020-05-23.
- Use boost::multiprecision for most numbers
- Added price increment to items when bought
- Added version number
Release date: 2020-04-07.
Initial version of the game. Following features implemented:
- Commandline interface
- Thread for user input
- Thread for game logic
- Inventory system
- Cookie increment based on cps