0% found this document useful (0 votes)
6 views10 pages

Project Report

Uploaded by

harismasood012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views10 pages

Project Report

Uploaded by

harismasood012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

PROGRAMMING FUNDAMENTALS

PROJECT REPORT
(Open Ended Lab / Complex Engineering Activity)

GROUP NO: 20

GROUP MEMBERS:
 M.Huzaifa Hassan SE-089
 Haris Masood SE-088
SEMESTER: 1ST
YEAR: 2024
COURSE CODE: SE-101
INSTRUCTOR: Ms. Asma Khan
Index:

1. Problem Statement.
2. Distinguishing Features of Project.
3. Screenshots of the Main Features.
4. Source Code of the Main Features.
5. Individual Contributions of Each Group Member in the Project.
6. Future Expansions.

RACING GAME!
1. Problem Statement:

The project aims to develop a racing game using Python and the Pygame library. The problem addressed is to
create an engaging and interactive gaming experience that involves navigating a car through a track, avoiding
collisions, and reaching the finish line within a set time limit.

2. Distinguishing Features of Your Project:

 Realistic Graphics: The project utilizes images of grass, track, car, and finish line, enhancing the visual
appeal of the game.
 User Controls: The game incorporates intuitive controls using the keyboard (W, A, S, D keys) for car
movement and rotation.
 Collision Detection: The car interacts realistically with the track and borders, bouncing upon collision
and reacting to the finish line appropriately.
 Level Progression: Players advance through levels with varying time limits, adding a progressive
challenge to the game.
 Timer Functionality: A timer keeps track of the time remaining for completing each level.

3. Screenshots of the Main Features:

1. Game Start:
2. Car Movement:

3. Collision Detection:

COLLLISION BOUNCE BACK

4. Level Progression and Finish Line Interaction:


Time Display
Car reached finish line.

“LEVEL 4” Displayed

5. End Game:

4. Source Code of the Main Features:


 “AbstractCar” Class Definition:

 “PlayerCar” Class Definition:


 Game Loop and User Input Handling:

 Collision Detection and Level Progression:


 Game Initialization and Event Handling:
• Additional Utility Functions:

5. Individual Contributions of Each Group Member in the Project:

Group Member 1: HARIS MASOOD


 Role/Responsibility: Graphics Design and Implementation
 Contributions:
o Implemented initial image loading for game elements (grass, track, cars, and finish line).

o Designed and structured the main game loop.


o Developed the core classes for car movement and collision detection.
o Selected the design of the track borders.
o Documented the codebase, providing clear explanations and comments for future reference.

Group Member 2: M.HUZAIFA HASSAN

 Role/Responsibility: Game Display Settings and Initial Screen


 Contributions:
o Configured display settings and window dimensions.

o Designed and implemented the initial screen with a game title and instructions.
o Integrated user input handling for starting the game.
o Contributed to the implementation of level progression.
o Collaborated on debugging and refining the overall user interface.

6. Future Expansions:

The project could be expanded in the future by considering the following enhancements:

 Multiplayer Mode: Introduce a multiplayer mode for competitive racing.


 Additional Levels: Create more challenging levels with unique track designs.
 Enhanced Graphics: Explore advanced graphics and visual effects for a more immersive experience.
 Sound Effects and Music: Incorporate sound effects and background music to enhance the gaming
atmosphere.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy