COMPUTER
SCIENCE
PROJECT
Index
S. No. Content Page No.
1 Introduction 2
2 Hardware and Software Requirements 3
3 Why Python? 4
4 Source Code 5-7
5 Output 8-12
6 Further Areas of Development 13
7 Bibliography 14
Introduction
The project titled “ Game Store Program” has been developed to demonstrate the
practical application of Python programming concepts in a meaningful and real-life context.
Rather than limiting learning to theoretical knowledge, this project focuses on creating an
interactive and user-oriented program that reflects how real-world software systems
function.
The application provides a menu-based interface through which users can browse available
games, add items to an order, modify quantities, remove selected items, search for specific
games, and view the total bill. Menu-driven systems are commonly used because they are
intuitive, easy to operate, and efficient for users of all levels.
Working on this project helped me understand how different components of a
program—such as user input, data storage, decision-making, and output—work together to
form a complete application. It also improved my logical thinking and strengthened my
confidence in applying Python to solve practical problems.
Hardware and Software Requirements
To design and execute this project effectively, certain basic hardware and software
requirements are necessary. These requirements are minimal and easily available, which
makes Python-based projects suitable for academic learning and practice.
Hardware Requirements
● A personal computer or laptop capable of running Python
● Minimum 4 GB RAM to ensure smooth performance
● Standard input and output devices, such as a keyboard and display
Software Requirements
● Python version 3.x or higher installed on the system
● Any Python-compatible Integrated Development Environment (IDE) or text editor,
such as IDLE, Visual Studio Code, or PyCharm
● An operating system such as Windows, Linux, or macOS
Fulfilling these requirements ensures proper execution of the program and a smooth
development experience.
Why Python?
Python is a modern, high-level programming language that is widely used in both academic
institutions and the software industry. It has been chosen for this project because of its
clear syntax, readability, and ease of understanding, which makes it especially suitable for
students at the secondary school level.
One of the biggest advantages of Python is that it allows programmers to concentrate on
problem-solving and logical thinking rather than spending time on complicated syntax. In
this project, Python’s built-in data structures, such as lists and dictionaries, are used
extensively to store game details, manage orders, and update information efficiently.
Python also supports interactive input and structured programming, which makes it ideal
for developing menu-driven applications like this game store program. Beyond academics,
Python is used in real-world applications such as web development, artificial intelligence,
data science, automation, and game development. Learning Python through this project
has helped me build a strong programming foundation and has increased my interest in
exploring advanced concepts in the future.
Source Code
Old= {
"Final Fantasy VII": 200,
"Metal Gear Solid" :234,
"God of War":455,
"Grand Theft Auto: San Andreas":345,
"Resident Evil 2":543,
"Silent Hill":345,
"Tekken 3":674,
"Gran Turismo 4":253,
"Prince of Persia: The Sands of Time":453,
"Devil May Cry":890
}
New = {
"God of War Ragnarök":253,
"Marvel’s Spider-Man 2":567,
"Horizon Forbidden West":734,
"The Last of Us Part I":1234,
"Ghost of Tsushima":456,
"Demon’s Souls (Remake)":678,
"Returnal":904,
"Final Fantasy VII Rebirth":643,
"Helldivers 2":893,
"Stellar Blade":798
}
oldnew ={"Final Fantasy VII": 200,
"Metal Gear Solid" :234,
"God of War":455,
"Grand Theft Auto: San Andreas":345,
"Resident Evil 2":543,
"Silent Hill":345,
"Tekken 3":674,
"Gran Turismo 4":253,
"Prince of Persia: The Sands of Time":453,
"Devil May Cry":890,
"God of War Ragnarök":253,
"Marvel’s Spider-Man 2":567,
"Horizon Forbidden West":734,
"The Last of Us Part I":1234,
"Ghost of Tsushima":456,
"Demon’s Souls (Remake)":678,
"Returnal":904,
"Final Fantasy VII Rebirth":643,
"Helldivers 2":893,
"Stellar Blade":798
}
total_value = 0
order = []
games = []
print("Welcome to the Game Store")
while True :
print("""
**********MENU**********
[Link] a item to the order
[Link] quantity of an item
[Link] a item from the order
[Link] the item you are looking for in the Store"
[Link] the order"
[Link]
"""
)
option =int(input("Choose an option (Number like 1 or 2):"))
if option==1:
course = input("Do you want to try Old or New games? ").strip().title()
if course == "Old":
for list_old in Old:
print(f"{list_old}:{Old[list_old]}")
print()
itemname = input("Enter the item you want to add : ").strip().title()
if itemname in Old :
quantity = int(input("How many do you want to buy? "))
final_price = [Link](itemname) * quantity
[Link]({"Item":itemname , "Price" :final_price , "Quantity" :
quantity})
print(order)
elif course == "New":
for list_new in New :
print(f"{list_new} : {New[list_new]}")
print()
itemname=input("Enter Item you want to add:").title().strip()
if itemname in New :
quantity = int(input("How many do you wanna buy? "))
final_price = [Link](itemname) * quantity
[Link]({"Item":itemname , "Price" :final_price , "Quantity" :
quantity})
print(order)
elif option==2:
print(order)
itemname=input("Which Item's quantity do you want to Modify?
").title().strip()
for dict_open1 in order :
if dict_open1["Item"] == itemname :
quantity = int (input("Enter new quantity: "))
if itemname in New:
final_price = [Link](itemname) * quantity
elif itemname in Old:
final_price= [Link](itemname)*quantity
[Link]({ "Item":itemname,"Price" : final_price , "Quantity" :
quantity})
for dict_open2 in games:
if dict_open1["Item"] == itemname :
dict_open1.update(dict_open2)
print(order)
elif option==3:
print(order)
deletion=input("Enter Item which you want to delete:").title().strip()
for dict_del in order:
if dict_del["Item"]==deletion:
[Link](dict_del)
print(order)
elif option==4:
finditem=input("Enter the name of the item you want to
find:").strip().title()
for fi in oldnew :
if fi == finditem and fi in Old :
print("The item is in the menu")
print("The item is present in Continental menu")
elif fi == finditem and fi in New :
print("The item is in the menu")
print("The item is present in Indian menu")
elif option==5:
total = 0
for view in order :
print(f"|{view['Item']}|{view['Quantity']}|{view['Price']}|")
total = total + view["Price"]
print(f"The total price is {total}")
elif option==6:
exitfs=input("Are you sure you want to exit the
program?(Y/N)").strip().title()
if exitfs=="Y":
print("Thank you for visiting!")
break
else:
continue
Output
1.Add an item to the order
2.Modify the quantity of an item
3.Delete an item from the order
4.Find the item you are looking for in the menu
5.View the order
6.Exit
Further Areas of Development
Although the current version of this project meets its intended purpose, there are several
ways in which it can be further improved and enhanced. With additional time and advanced
knowledge, this program can be developed into a more comprehensive and realistic
application.
In the future, a graphical user interface (GUI) can be introduced to replace the text-based
menu, making the application more visually appealing and user-friendly. File handling
techniques can also be implemented to store game details and customer orders
permanently. Other enhancements may include adding a user login system, applying
discounts and taxes, supporting multiple payment methods, and improving error handling.
These future improvements would make the project more efficient, secure, and closer to a
real-world commercial game store system.
Bibliography
The following sources were referred to while completing this Computer Science
project. These resources helped in understanding Python programming concepts and
implementing the menu driven restaurant ordering system.
1. NCERT Computer Science Textbook (Class XI)
This book was used to understand the basic concepts of Python programming,
such as loops, conditional statements, lists, and dictionaries.
2. Python Official Documentation
The official Python documentation was referred to for understanding syntax,
built-in functions, and proper usage of Python data structures.
3. Teacher’s Notes and Classroom Lectures
Guidance provided by the Computer Science teacher during classroom
teaching helped in planning and structuring the project correctly.
4. Online Learning Resources
Educational websites and tutorials were referred to for additional examples and
a better understanding of menu-driven programs in Python.
These sources provided the necessary knowledge and support to successfully
complete the project.