Use Case 1: Customer purchases a game on Steam
Actor: Customer
Use Case Overview: A customer wants to purchase a game on Steam. They search for the game, view its information, and add it to their cart. They then proceed to checkout, enter their payment information, and confirm the purchase.
Subject Area: Online Gaming
Actor(s): The customer
Trigger: The customer wants to purchase a game on Steam.
Precondition 1: The customer has a Steam account.
Precondition 2: The customer has a valid payment method.
Basic Flow: Purchase Game
- Customer searches for the game they want to purchase on Steam.
- Customer views the game's information and reviews.
- Customer adds the game to their cart.
- Customer proceeds to checkout.
- Customer enters their shipping and billing information.
- Customer selects their preferred payment method.
- Customer confirms the purchase.
- Steam verifies the customer's payment information and completes the transaction.
- Steam sends an email to the customer with the purchase details and receipt.
- The customer download the game.
Termination outcome: The customer has successfully purchased the game and has access to it in their Steam library.
Alternative Flow 2A: Payment method error.
Description: This scenario describes the situation where the customer's payment method is declined or invalid.
2A1. Steam verifies the customer's payment information.
2A2. Steam informs the customer of the error and prompts them to enter a new payment method.
2A3. Customer enters a new payment method.
2A4. Steam verifies the new payment method and completes the transaction.
Termination outcome: The customer's new payment method is accepted, and they are able to purchase the game.
Alternative Flow 3A: Game is Age Restricted
Description: This scenario describes the situation where the game is age restricted.
3A1. Customer searches for the game on Steam.
3A2. Steam verifies the customer's age based on their account information.
3A3. If the customer is not of the appropriate age, Steam denies the purchase and informs the customer of the age restriction.
3A4. If the customer is of the appropriate age, the purchase proceeds as normal.
Termination outcome: The customer's age is verified and the purchase is either denied or proceeds as normal.
Post conditions: The customer has successfully purchased the game and has access to it in their Steam library.
Business Rules:
• The customer must have a Steam account to purchase games on Steam.
• The customer must have a valid payment method to purchase games on Steam.
• The customer must confirm the purchase before the transaction is completed.
• The customer will be sent an email with the purchase details and receipt.
• The customer can download the game after the purchase.
• Steam reserves the rights to cancel an order under certain circumstances.
• Steam reserves the rights to remove a game from the store under certain circumstances.
• Games with age restrictions can only be purchased by customers who meet the age requirement.