ClickMaster 3000
Open Source C++ SFML Software (v1 2018) (v2 2021)
Auto Clicker
What Is The ClickMaster 3000?
The ClickMaster 3000 is a graphically rich program made with C++ and SFML to aid in the
playing of the popular game Cookie Clicker. This simple program when engaged will
automatically click the mouse very rapidly (auto clicker) which allows the user to simply
leave their mouse over the cookie and let the points roll in.
Tell Me More!
The program uses the SFML framework to create its GUI and is fully self-contained in the
.exe file as I
developed a tool program that will compile a given image file into a unsigned char
hexadecimal array
that can be copy pasted into code. All the art was also made by me in Inkscape.
What I Learned/Achieved
This project allowed me to explore functional programming in C++ for the first time. Instead of
using an object-oriented approach to the buttons which would require each button to have their
own class for functionality, I explored binding functions to button states using lambda
expressions and function pointers. This approach allows for functionality to be added to a
generic button and is more in line with standard application design. The main rationale behind
this was in V1 of the app, I used an object-oriented design and observed that the exit button
for instance is basically the same as every other button but only calls a single function to
close the program. Ultimately, this approach significantly reduces the difficulty and number of
files required to add new functionality to the app.
What Could Be Improved?
The simplicity of the ClickMaster 3000 makes it very intuitive to use. However, some options
and configuration settings would make the application more useful. For instance, a menu that
allows for the auto clicker to be changed to another mouse button or even a keyboard button
would drastically increase the general use case for the application.
Conclusion
Overall, I am very happy with the ClickMaster 3000. The application itself is simple from
both a programming and end user perspective making it a great product now and allowing to be
expanded in the future.
Usage:
1. Ensure Capslock is toggled OFF.
2. Press power button to arm clicker.
a. Clicks per second can be changed with CPS button.
3. Toggle Capslock ON to engage clicker.