Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
25 views

Python Mini Project Report

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Python Mini Project Report

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Python Programming

Mini Project Report

On

Multiplayer Car Racing Game


By
1032220677 -Ketavya Chitransh-04
1032221878 - Aditya Garg- 21
1032221828 -Rushikesh Deshmukh- 18
1032221883 - Vishwajeet Khaple- 23

Under the guidance of

Dr. Pradnya V. Kulkarni

Department of Computer Engineering and Technology


School of Computer Science and Engineering
Dr. Vishwanath Karad MIT World Peace University
AY 2023-24 Semester IV
Table of Contents
1 Introduction

2 Problem Statement

3 Class Diagram

4 Use Case Diagram

5 Tasks Performed

6 Tools/Libraries/Technologies Used

7 Analysis, Hardware and Software Requirement

8 Output and Visualization Screenshots

9 Conclusion

10 References

List of Figures
Figure 1 Class Diagram
Figure 2 Use Case Diagram
Figure 3 Gameplay Screenshot
Figure 4 Multiplayer Lobby Screenshot
1. Introduction

Python is an interpreted high-level programming language for


general- purpose programming. Python features a dynamic type system
and automatic memory management. It supports multiple programming
paradigms, including object-oriented, imperative, functional and
procedural, and has a large and comprehensive standard library.

In order to make games with the Python language, it is essential to


use Pygame, it is a cross platform Python library which wraps SDL. It
provides many features like Sprite groups and sound/image loading and
easy changing of an object's position. It also provides the programmer
access to key and mouse events. So, the game which is a part of the mini
project is in 2-D (two dimensions) so it makes it compatible to use
python with the pygame module.

To work upon the game, it is essential to have prerequisite


knowledge on the syntax of python. The IDLE which is an editor which
comes along with python during installation can be used for
development. PyCharm is an IDE which is quite suitable for developing
python games.
The 2-D game is about Car Racing. The objective of the game is
to win the race by completing the path of the race track in shortest time
while avoiding collision with the walls. This game can be played
between 2 players or one player against the computer. The game can be
integrated with Music to get real gaming experience.
2. Problem Statement

Designing and developing a car racing game using Python that provides
players with an immersive and entertaining gaming experience. The game
includes multiplayer battles by which 2 players can play at a time and
challenge each other, and also can go against the computer. The primary
objective is to create a dynamic and visually appealing game that challenges
players' skills while providing an enjoyable gaming experience. Additionally,
the game should be optimized for performance to ensure smooth gameplay
across different devices and platforms

3. Class Diagram
4. Use Case Diagram
5. Tasks Performed

● Conceptualization and design of multiplayer features


● Implementation of game mechanics using Pygame
● // Integration of SQL database for storing player scores
and data
● Designing the game mechanics and user interface.

● Implementing the multiplayer functionality using key events.


● TrainingCPU for NPC gameplay.
● Optimizing performance and user experience.
● User interface design for both gameplay and multiplayer
lobby

6. Tools/Libraries/Technologies Used
● Pygame for game development.
● Python's utility (time and math )library for
implementing multiplayer functionality.
7. Output and Visualization Screenshots

# Gameplay Screenshot
8. Conclusion

In conclusion, the Python mini project undertaken for game development has
been an enriching journey, showcasing the power and versatility of Python in
creating engaging and interactive experiences. Through this project, we've not
only applied fundamental programming concepts but also delved into the
intricacies of game design, logic implementation, and user interaction.

Our endeavor has demonstrated how Python's simplicity and readability can
be harnessed to bring ideas to life, from conceptualization to execution. By
leveraging libraries like Pygame, we've been able to explore various game
development aspects such as graphics rendering, input handling, and game
state management effectively.

Moreover, this project has provided invaluable learning opportunities,


allowing us to encounter and overcome challenges, refine problem-solving
skills, and foster creativity. As we reflect on our journey, we recognize the
significance of collaborative effort, continuous iteration, and a resilient
mindset in achieving project objectives.

Looking ahead, the insights gained from this project serve as a solid
foundation for future endeavors in game development and software
engineering.
As we continue to explore the vast landscape of Python and its applications,
we remain inspired by the endless possibilities and eager to embark on new
challenges.

In essence, this Python mini project not only marks a significant milestone in
our learning journey but also reinforces the notion that with dedication,
passion, and the right tools, we can turn imagination into reality.
9. References
- Pygame Documentation:
[https://www.pygame.org/docs/](https://www.pygame.org/docs/)
[https://pythonprogramming.net/adding-sounds-music-pygame/]
[https://en.wikipedia.org/wiki/Pygame]

- PyGame Tutorial by Tech with Tim:

[https://www.youtube.com/watch?v=L3ktUWfAMPg&list=PL
zMcBGfZo4-kmY7Nh4kI9kPPnxJ5JMRPj&pp=iAQB]

You might also like