简体   繁体   中英

Can web server be an actor in use case diagram of online game?

I am designing an online game in which server records the shots, inform players and pass turn. Can I consider Server as an actor or it should be a part of my system?

Shortly your server is a part of you system

As for identification actors itself you should answer for next questions:

  • Who will supply, use, or remove information from the system?
  • Who will use the system?
  • Who is interested in a certain feature or service provided by the system?
  • Who will support and maintain the system?
  • What are the system's external resources?
  • What other systems will need to interact with the system under development?

So users (players, admins and so on), external sources (ie used external API) are actors definatily in your case.

Server can be an actor. Here is an example. As you can see server is out side of system.

It can be difficult to idenify all actors immediately but you can revise your use cases (and actors) during creation system.

Given from source

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM