A simple game developed in C++ where you "lasso" around the moving lasso head to catch coins if they are in the specified region around the head.
- The coin is shot upwards at a randomized angle from a cannon which is set a little distance away from where the lasso head emerges.
- The angle at which the lasso head is thrown towards the coin can be adjusted using controls.
- The game has levels, and progression to the next requires a certain number of coins to be caught, which is the level quest.
- Bombs are thrown every second level and catching one deducts 1 from the player's total score.
- Magnets are thrown every third level after completing half of the level quest and catching one doubles the Lasso catch radius for the rest of the level, for the rest of the level, which makes catching coins a bit easier. This Magnet is thrown only once, and if not caught will not appear again in that level.
- All moving objects (Lasso head, Coins, Magnets and Bombs) follow "gravitational" acceleration and follow parabolic paths.
- The controls of the game are described as text within the game window, on the top right.
** Completely developed using WSL, Windows Subsystem for Linux using the xrdp GUI.
To run, simply download the "lasso" file, then run chmod 755 lasso
with your terminal opened in the same directory as the file (to avoid any "Permission Denied" errors), and then ./lasso
to execute.
The code uses the simplecpp library header which is required to run it. (Installation steps here: https://www.cse.iitb.ac.in/~ranade/simplecpp/)