Team Member Name: Jia Qi, Kwangwei, Cheska, Perle, Chwe
Team Roles:
- Scrum Master: Perle Chen
- Project Manager: Poh Jia Qi
- Developers: Lau Kwang Wei, Poh Jia Qi, Perle Chen
- QA(s): Ma Chwe, Francheska Lazo
- Technical Lead: Lau Kwang Wei, Poh Jia Qi
-
Cheskalazo branch with all Passed Test Scripts. PR #787 by @cheskalazo.
-
fixed minor bug on mainmenu(). PR #769 by @legitaxes.
-
Added the ability to view orb on the map. if the hero is on the town with the orb, viewing the map will show 'H/O' instead of 'T/O'. Town with the orb will be displayed as 'T/O' added a debug feature by entering '1337' on town menu to teleport hero to orb location added a new function called orb_townmenu which display a diffferent set of town menu when the user is in a town with an orb PR #745 by @legitaxes
-
assigning tasks to @laukwangwei for the new requirement changes. PR #701 by @legitaxes.
-
added generate_orb() function which generates orb at random town locations. PR #695 by @legitaxes.
-
closed todo issue for main function. PR #691 by @legitaxes.
-
fixed and completed the second part of encounter unit test. PR #687 by @legitaxes.
-
fixed major bug when moving hero. PR #680 by @legitaxes.
-
changed outdoor_menu . PR #618 by @perlechen.
-
removed mock module . PR #610 by @legitaxes.
-
completed half of the encounter() function because outdoor_menu() is …. PR #604 by @legitaxes.
-
added encounter function, not working as there are other function such as outdoor_menu() not completed.
-
Will fix unit test for encounter soon TM. PR #595 by @legitaxes.
-
added outdoor menu unit test. PR #590 by @perlechen.
-
completed unit testing for assigned task. PR #582 by @laukwangwei.
-
Added attack function into the game as well as cleaning up explicit str() conversion into fstrings. PR #532 by @legitaxes.
-
finished up main function for feature 1 to 6 for town menu with completed unit tests . PR #512 by @legitaxes.
-
Added a lot of new changes to ensure main.py works
Added a new file to run the main function which will handle the logic of the program
Fixed many issues encountered when creating main.py and fixed the considerations needed for the functions. PR #503 by @legitaxes.
You are The Hero. The world is being invaded by the Rat King and his endless rat minions. The only way to defeat the Rat King is to find the Orb of Power located in the faraway land of Katalina. In this computer role-playing game, you will travel around a grid map searching for the Orb of Power and fighting rat minions. On the map are various towns where you can rest and save your game. Once you find the Orb of Power, the Rat King loses.
The Ratventure project will be split into 2 sprints. Each sprint will be done over a period of 1-2 weeks
- In the first sprint, we will be handling the basic functions of the game such as the menus, movement and the world map
- In the second sprint, we will be handling the combat features of the game such as attacking, running and completion of the game
The movement of the hero will be through the usage of labelling the grid with hidden numbers
- Refer to this image for the rough layout of the map with numbers
- Town numbers and winning tile will be kept as global variables along with the stats of the hero, monsters and all other game menu
We will be considering the following Software Development Methodologies:
- Agile Software Development Methodology
- Scrum Software Development Methodology
- Extreme Programming Software Development Methodology
- Spiral Lifecycle Modelling Development Methodology
- Software Development Life Cycle
Project Board used: Automated Kanban
-
The project backlog will contain all of the future features that will be added
-
The user stories that are derived based on the tasks will appear here
-
The In Progress states the tasks that is being developed
-
The To be checked by QA column will contain all the tasks completed by the developer but yet to be checked by the QA. Tasks will be flagged with a label called
to-check-QA
. This column will have the automation ofdone
keywords. -
The Changes needed column will contain all the tasks checked by QA that has issues. Tasks will be flagged with 2 labels called
checked-by-QA
andbug
. Issues have to be moved manually by the QA to this column or thedone
column -
Lastly, the Done column will contain all the tasks that are fully checked and completed
In each user story in the kanban board, there will be an explanation of what needs to be done and expected in the comment
An example can be seen below:
Different Requirements of the Assignment: Features (rough outline of the features, details in kanban board)
1.0. Display the main menu - should accept only one input
1.1. Initialize the map and stats of the player of the game
1.1.2: Display game menu
1.2. Resume game functions
1.2.1: Show town menu from the previous save state
1.3. Exit game function
1.3.1. Closes the entire program
2.0 Display game menu
2.1 Displaying character stats. Name, Damage, Defence, HP
2.2 Display map - show current hero position and town position
*2.2.1 Display Rat King on map
2.3 Move a tile in the map - cannot go out of bound. Add 1 day to the day counter
2.4 Rest the character - reset HP
2.5 Save the game - save current state
2.6 Quit the program
3.0 Display the map, combat menu and monster stats
3.1 Attacking monster. Deals random dmg ranging from damage range
*3.1.1 Obtain Orb of power
*3.1.2 Attack Rat King
*3.1.3 Move towards Rat King
3.2 Run away from the monster - leads to Function 4.0
3.3 Killing a monster shows "The Rat is dead! You are victorious!" and go to Function 4.0
4.0 Display the post combat menu
4.1 View character stats function
4.2 View the map of the game
4.3 Move a tile
4.4 Exit game
- Test Cases
The aim of a test case is to evaluate if various features work as intended within a system and to ensure that all related standards, guidelines and customer requirements are fulfilled by the system. The method of writing a test case will also allow the system to discover flaws or faults.
User Story | Test Scenario | Test Scenario Description | Pre-Requisite | Test Steps | Test Values | Expected Outcomes | Actual Outcomes | Test Result |
---|---|---|---|---|---|---|---|---|
1.0 | Test Case 1 | View the main menu | 1. Program has to be started | 1. Run the program | NA | Main menu will be displayed which includes 3 choices that player can choose from, 1) New Game 2) Resume Game 3) Exit Game |
||
1.1 | Test Case 2 | Start new game | 1. Program has to be started | 1. Run the program 2. Enter choice |
Choice = 1 | New game will be successfully loaded with player's statistics, default map and game menu will be displayed on screen | ||
1.2 | Test Case 3 | Resume from the previously saved progress when there is saved game | 1. Program has to be started 2. There is saved game |
1. Run the program 2. Enter choice |
Choice = 2 | No. of days and town menu will be displayed which includes 6 choices that player can choose from, 1) View Character 2) View Map 3) Move 4) Rest 5) Save Game 6) Exit Game |
||
1.2.1 | Test Case 4 | Resume from the previously saved progress when there is no saved game | 1. Program has to be started 2.There is no saved game |
1. Run the program 2. Enter choice |
Choice = 2 | A warning message will be displayed, "There is no existing saved game!" |
||
1.3 | Test Case 5 | End the current game | 1. Program has to be started | 1. Run the program 2. Enter choice |
Choice = 3 | The program should close | ||
1.3.1 | Test Case 6 | Invalid choice input | 1. Program has to be started | 1. Run the program 2. Enter choice |
Choice != 1-3 (any value that is not between 1-3) |
A warning message will be displayed, "The choice is not valid! Please choose a valid choice" |
The four Software Development Methodologies chosen are:
-
Agile software development methodology is based on the idea of iterative development, where specifications and solutions evolve through collaboration between cross-functional teams that are self-organized. In Agile development, the ultimate advantage is that it helps teams to produce value quicker, with better efficiency and predictability, and greater aptitude to adapt to change. It also minimizes peril by producing software, known as iterations, in short time boxes, which last from one week to one month.
-
Furthermore, like all methodologies, it has both pros and cons in using it. Some of the advantages in using it are its adaptive strategy that responds to modifications favorably, its transparency by providing opportunity for clients to be involved throughout the project, and it improves quality by easily identifying and correcting flaws and early detection of expectation mismatches. The disadvantages are it lacks documentation efficiency as it will be too focused on developing with the software and teams get easily sidetracked due to lack of processes and the outcome not being clear.
-
As Agile has sprints, a predetermined timeline during which a given mission should be accomplished by the team, we plan to divide our tasks into different sprints. The tasks would include all the features we have agreed on and fulfilling the user stories. After each sprint, the team will review each other’s performance and discuss new ways to produce better results and improve the work. Aside from the review at the end of each sprint, we would also conduct daily stand-up-meetings that will last only for five minutes to state the progress and what needs to be done in a clear and precise manner.
-
We are considering Agile as it
- Encourages open communication among team members
- Allows making changes throughout the development process as it is a long term project and all features are not finalised yet (additional features might be added)
- Enables us to manage shifting priorities more effectively by assigning more time and effort on features that are more important and difficult
- Increase productivity as this process is fast and flexible
-
The scrum software development methodology is based on the idea of having a model that initiates with an ephemeral plan, conference and completes with a concluding review. In contrast to the Agile methodology as mentioned above, this Scrum methodology focuses on the business value in the shortest time which delivers the software after each sprint. This methodology has advantages as follow: decision making lies in the hands of the team; business requirement document is considered insignificant; lightly controlled method empathising with constant updating; as well as having a cross-functional development team. While it brings advantages to the project, it does have disadvantages such as wavering costs, not suitable for big sized projects, and requires a highly expert team.
-
As a team, we will practice this methodology by using the following:
- KANBAN board on Github: helps to collaborate and work effectively. It will keep track of the progress of the sprint backlog items in each sprint.
- Scrum events such as the Sprint, Sprint Planning, Daily Stand-up, Sprint Review, Sprint Retrospective.
- Cross-Functional development team: team members will have overlapping roles. For example, Jia Qi can be both part of the technical lead as well as the development team.
-
After considering that Agile is the right methodology for the project, we proceeded with determining whether using the Scrum software development methodology is the best Agile methodology.
-
For consideration, we looked at the type of our project and whether Scrum will meet our needs as well as the nature of our team. As mentioned in the Assessment Criteria, this project should allow changes to the requirements to handle other features suggested by our tutor. This means that this project does not have clear requirements and is most likely to experience change. This inlines with one of the advantages of Scrum as mentioned above, which utilises a lightly controlled method emphathizing with constant updating.
-
In addition, one of the constraints in our team is the lack of developers who are well-versed in programming. By adopting the scrum methodology, it fosters a cross-functional development team where the developers do the design, code as well as testing. By having more members with overlapping roles, it enables us to have strength in numbers to tackle the requirements together. While it is beneficial for us to adopt this methodology, we do acknowledge that it may be difficult to implement it due to its complexity which requires a highly expert team.
-
Extreme Programming is an agile software development methodology that aims to produce higher quality software. It is usually used to reduce the cost of changes in requirements by having multiple short development cycles, rather than a long one. Advantages of using Extreme Programming would also include establishing rational plans and schedules, being equipped with modernistic methods for quality software, the developers being exceptionally committed to the project and it lays out focus on customer involvement. While some of the cons of Extreme Programming would include the effectiveness would depend on the people involved, requiring frequent meetings for development which raises the total costs, exact possibilities and future outcomes are unknown and there is demand for excessive development changes. Practices of Extreme Programming would include Test-Driven Development, Pair Programming, Continuous Integration, Coding Standards and 40-Hour Week work conditions.
-
We will practice Extreme programming through one of the practices, Continuous Integration. It is a practice where code changes are immediately tested when they are added to a larger code base. The benefit of this practice is you can catch and fix integration issues sooner. The reasoning behind that approach is that if we experience problems every time we integrate code, it takes a while to find where the problems are and they are much easier to find because there are fewer changes incorporated into the build.
-
The reason why we would consider this is because in Extreme Programming, developers are allowed to focus on coding. We might also experience constantly changing requirements or work with customers who are not sure what they want the system to do as there might be additional requirements midway through the work. As such, we considered Extreme Programming as we wanted to mitigate project risk.
-
The Spiral lifecycle model is a combination of iterative development process model and sequential linear development model, which has a capability to handle risks. It makes use of iterative development along with the systematic, controlled aspects of the waterfall model. In contrast to the models mentioned earlier, the developer does incremental releases of the product through each iteration around the spiral. Through each iteration, bugs are identified and ratified.
-
Spiral lifecycle model is accommodating to the ever changing requirements in the project since Ratventure is a project where there can be additional requirements given by the client. If the requirements are not clear, spiral modelling helps to capture the requirements more accurately
-
However, there are several disadvantages to using the spiral model. One of them is, the spiral process can go on indefinitely which means the project could potentially not have a finished product. It is also not recommended to use for small projects as it could be costly to maintain a spiral lifecycle model.
-
We will be planning the layout of the menu interfaces for each of the stages of the spiral. During the building phase of the product, we will be producing a working product at each spiral. And through each spiral we will improve on the product with higher clarity on the requirements with a working model of the software build number. These builds are sent to the QA team and Operations team to test for feedback.
-
The QA and Operations team will evaluate the product and provide feedback to the developer to improve on the product through the usage of test cases
-
The reason why we consider using the Spiral Lifecycle model is because the project will be a long-term project as there can be potential change to the product. The client is also unsure of what other features that should be added to the game. There could be significant changes in the requirements and it is expected in the product during the development cycle.
-
Software Development Life Cycle (SDLC) is the implementation of standard business practices to building software applications. Typically, it is divided into six to eight steps: Planning, Requirements, Design, Build, Document, Test, Deploy and Maintain. Depending on the complexity of the project, some project managers may merge, split, or omit steps. SDLC is a means for the development process to be measured and enhanced. It facilitates a fine-grain analysis of each step of the process. This helps the team to maximise efficiency at each stage.
-
SDLC has countless advantages when being used as the chosen methodology for any project. Some common benefits are that the goals and problems are clearly defined, creates considerable system documentation, and a proper testing will be conducted before being installed. However, there are disadvantages with this method. What may be seen as a major problem for some, the end-user does not see the solution until the system is almost complete. Also, it encourages stiff implementation instead of creativity as there are requirements that must be met.
-
As mentioned above, it consists of six to eight steps to follow. To start off, the team will do the planning by discussing the brief overview of the project and assigning the roles for effectiveness and efficiency. As soon as everyone is clear with what the goals are, we will move on to gathering the requirements by identifying and consolidating the features of the Ratventure. Subsequently, we will be preparing system and software design documents stated in the requirement specification document. Once the system design phase is complete, developers start to build the entire system by writing code using the chosen programming language. The testing team will start testing the functionality of the entire system after the software is completed and deployed in the testing environment. Until the software is bug-free, stable, and working accordingly, the QA and testing team will have to communicate to developers to fix any bugs that may be found. After all the errors are fixed, we will start to do the final deployment.
-
It is the best way to maintain optimum control, reduce problems, and allow the project manager to run production without having to micromanage the members of the project. SDLC shows what’s happening, and exactly where the development process can be improved. SDLC also aims to analyze and improve the process of creating software as it creates a scalable view of the project, from day-to-day coding to managing production dates.