The Ludum Dare 40 entry of @polsys.
Summer is at its best and lemonade is in huge demand. You have a week to sell as much lemonade as possible. The weather couldn't be nicer... but remember: the more you have, the worse it is.
The game is written in C++14 using SFML. C++ is not my strongest language, and that's exactly why I'm using it here!
As a special surprise, lemonade_stand.py
contains a rough command line version of the game! I used it to prototype the game rules. There is no parameter validation whatsoever and many things differ from the finished game.
You'll need Visual Studio 2017 (VS2015 should work as well).
- First, download/fork this repository.
- You'll notice that the
Dependencies
folder is empty. Download SFML for Visual Studio 2015 (32-bit) and unpack theSFML-2.4.2
folder there. - Open the solution in Visual Studio and build it. The project file includes some MSBuild magic to automatically copy binary dependencies and assets to the output directory when building.
You'll need the latest libsfml-dev
installed. Then building the game is a matter of compiling all the .cpp
files and putting the resulting executable and the assets at the same place.
As a fun challenge, this is something I didn't have time to test (RasPi default repos have old SFML). Enjoy!