


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



School of Computing: Programming Fundamentals - Lab
School of Computing: Programming Fundamentals - Lab Endless Runner Game in C++
The Endless Runner Game is a popular genre of video games where the player character keeps running ahead, while the game environment continuously changes to provide new challenges.
The objective of the game is to cover the maximum distance possible while collecting coins and avoiding randomly generated obstacles. The player character will have a limited capacity to move sideways and forward. The game will end when the player runs out of lives.
The game will be played on a 2D map with a rectangular shape. The player character will move automatically, and the player will control the character's movement by moving sideways (3-sideways) to avoid obstacles and in a very limited capacity player would be able to move backwards and forwards. The game environment will not be random, but the obstacles and shapes will be randomly generated. The speed of the game will increase as the player covers more distance in milestones of 1000m, 2000m and beyond.
School of Computing: Programming Fundamentals - Lab
The project must be completed individually, not in groups. Make a folder with the convention “SECTION_Name_ROLLNO” and place game-release.cpp in that folder. Submit that folder on GOOGLE CLASSROOM. Plagiarism is strictly prohibited. Any code generated through artificial intelligence (such as ChatGPT or other such tools) will lead to an F in the project or possibly the course The provided file contains functions to draw various shapes and use the required functions. Additionally, it includes player movement mechanics. You are encouraged to utilize these functions and apply your creativity to enhance the game experience. You can execute the functions using bash commands or the make command in Linux. For Windows and Visual Studio, you can install the necessary libraries to run the functions successfully.
Assigning date: 20th^ November, 2025 Final Submission: 2nd December, 2025 Run the given commands in terminal which has been opened in the directory To install libraries: bash install-libraries.sh To comiple the project: make To run the project: ./game-release