Computing Project: Building a Game
with Python
Student Name: __________________________
Date: January 30, 2026
Class: Computer Science 101
1. Project Overview
This project involves creating an interactive 2D game using Python and the Pygame library. The
objective is to demonstrate understanding of programming concepts including loops, conditional
statements, functions, and object-oriented programming.
2. Learning Objectives
• Understand basic game development concepts
• Implement object-oriented programming principles
• Create interactive user interfaces
• Handle user input and game events
• Implement collision detection algorithms
• Manage game state and scoring systems
3. Technical Requirements
Component Description Status
Python Version 3.8 or higher ■
Pygame Library Latest version installed ■
Game Window 800x600 resolution ■
Player Controls Keyboard arrow keys ■
Score System Points and lives tracker ■
Sound Effects Background music and SFX ■
4. Sample Code Structure
import pygame
import sys
class Game:
def __init__(self):
[Link]()
[Link] = [Link].set_mode((800, 600))
[Link] = [Link]()
[Link] = True
[Link] = 0
def run(self):
while [Link]:
self.handle_events()
[Link]()
[Link]()
[Link](60)
def handle_events(self):
for event in [Link]():
if [Link] == [Link]:
[Link] = False
def update(self):
# Game logic here
pass
def draw(self):
[Link]((0, 0, 0))
[Link]()
if __name__ == "__main__":
game = Game()
[Link]()
5. Project Timeline
Week Task Completion
1 Set up environment and basic window ■
2 Create player character and movement ■
3 Add enemies and collision detection ■
4 Implement scoring and game over ■
5 Add sound effects and polish ■
6 Testing and documentation ■
6. Grading Rubric
Criteria Points Score
Code Functionality 40
Code Organization 20
User Interface Design 15
Documentation 15
Creativity & Innovation 10
<b>Total</b> <b>100</b>