Fall 2024 - CS605 - 2 (BSCS) .
Fall 2024 - CS605 - 2 (BSCS) .
02 Total Marks: 20
Semester: Fall 2024
CS605 – Software Engineering II Due Date: 04-01-2025
Question File
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
Assignment Syllabus:
For any query about the assignment, contact through email at [email protected]
2048 Puzzle Game
Game Link: https://play2048.co/ (Open it in any browser and play the game)
The 2048 Game is a simple, yet addictive puzzle game. The goal is to slide tiles on a grid and combine them to
create a tile with the number 2048. Here's how it works:
Basic Rules
Grid and Tiles:
The game is played on a 4x4 grid.
At the start, two tiles appear randomly, each showing the number 2 or 4.
Tile Movement:
Use arrow keys (or swipe gestures on mobile) to move all tiles on the grid in one of four directions: up,
down, left, or right.
All tiles move as far as possible in the chosen direction until they hit the grid's edge or another tile.
Combining Tiles:
When two tiles with the same number collide during a move, they merge into one tile with their numbers
summed (e.g., 2 + 2 = 4, 4 + 4 = 8, etc.).
The resulting tile cannot merge again in the same move.
New Tile:
After every move, a new tile with a value of 2 or 4 appears at a random empty spot on the grid.
Winning Condition:
The game is won when a tile with the number 2048 appears on the grid.
Losing Condition:
The game ends when no moves are possible, i.e., when the grid is full, and no adjacent tiles can be
combined.
Scoring:
Your score increases by the value of the tiles you merge during the game.
Tips:
Focus on creating larger tiles while keeping your grid as clear as possible.
Try to keep your highest tile in one corner for better control.
Avoid spreading tiles randomly to reduce the chances of losing space for movement.
Question:
In the development of the "2048 Game," two groups are involved in Software Quality Assurance (SQA):
Software Engineers: Responsible for technical implementation.
SQA Group: Responsible for QA planning, oversight, record-keeping, analysis, and reporting.
Identify two specific SQA-related activities that each group would perform during the development and
testing of the game. Explain how their roles complement each other to ensure the quality of the game.
.………*****……….
Best of Luck ☺
Software Engineers' SQA-Related Activities
1. Unit Testing: Software engineers would perform unit testing to verify that individual components of the
game, such as tile movement and merging, function correctly. This involves writing test cases to ensure that
each unit of code behaves as expected.
2. Code Review: Engineers would conduct code reviews to ensure that the code is maintainable, efficient, and
adheres to coding standards. This helps identify potential issues early on, improving the overall quality of the
game.
SQA Group's SQA-Related Activities
1. Test Planning and Oversight: The SQA group would develop a comprehensive test plan, outlining the testing
scope, approach, and schedule. They would oversee the testing process, ensuring that it aligns with the plan
and that any deviations are addressed.
2. Defect Reporting and Analysis: The SQA group would be responsible for reporting and tracking defects
found during testing. They would analyze defect trends to identify patterns or areas of the game that require
additional testing or improvement.
Complementary Roles
The roles of software engineers and the SQA group complement each other in ensuring the quality of the
"2048 Game" in several ways:
Technical Expertise and Process Oversight: Software engineers provide technical expertise in implementing the
game, while the SQA group ensures that the development and testing processes are followed correctly.
Detailed Component Testing and Broad Coverage: Engineers focus on detailed unit testing of individual
components, whereas the SQA group ensures broad coverage through test planning and oversight, guaranteeing that
the game functions as expected from a user's perspective.
Early Defect Detection and Comprehensive Quality Assurance: Code reviews by engineers help detect issues
early, reducing the likelihood of downstream problems. Meanwhile, the SQA group's defect reporting and analysis
provide a comprehensive view of the game's quality, highlighting areas that need improvement.