Mathematical Problems in online games

Source: Internet
Author: User

Online Games have many mathematical problems. playing online games can also be a learning process.

Take my favorite Warcraft for example.

Question type 1: Optimization

In the battle between the beasts and the undead, the beasts are five infantry soldiers, and the undead are four dead ghosts and two spider soldiers. Assume that the infantry of the animal family has 700 blood, the attack power is 20, the zombie is 300 blood, the attack power is 20, the spider is 500 blood, and the attack power is 25. Each type of attack is one per second. Regardless of the impact of armor on each type of weapon on damage calculation, or the time required for each unit to move. It is assumed that multiple infantry can enclose a zombie at the same time, while the zombie and spider can also attack a single infantry.

Q: (1) if the Zoomlion infantry first concentrates on zombie attacks, how many seconds will the first Zoomlion infantry be killed?

(2) If the infantry forces to attack the Spider first, how many seconds will the first infantry be killed?

(3) compare the number and time of death of each animal infantry under two conditions: first hit the zombie and first hit the spider, and ask the animal gamer whether to attack the Zombie or the Spider first?

 

 

Answer: (1) 6 seconds (2) 6 seconds (3) hit the zombie first.

Analysis: no matter whether it is a zombie or a spider, it will not be a dead race. For example, if a zombie is killed, the unit of the undead family will be killed in 3 s, 6 s, 10 s, 14 S, 22 s, and 28 s respectively. Two infantry were killed at the 6s and 16th s respectively. For example, if a spider is first beaten, each unit of the undead family will be killed for 5 S, 11 S, 15 s, 20 s, 25 s, and 32 s respectively. Three infantry were killed for 6 s, 14 S, and 26 s respectively.

 

Question type 2: Arrangement and combination

The beasts include 11 types of troops, including infantry, hunters, stone trucks, Wolf Knight, flying dragon, cordoot, bat, Shaman, witch doctor, white ox, and ox-headed person. The tactics used by player a require him to have four types of troops. The first type of troops can only be infantry or hunters, the second type cannot be the bull's heads, and the last type cannot be the hunters, in addition, if you are going out of the bat, you must go out to the witch doctor and ask the number of options for Player.

 

Question Type 3: Simple Application Questions

A Gender of the Gender family needs to go through the dark night genie base. The dark night genie base has four Archer S, each of which has a 25 attack power and a frequency of 1 attack per second, the attack scope covers the entire night genie base. The base of the night genie can be considered as a square with a side length. Shige's life is 825, and its flight speed is per second. Can he safely cross the night Genie's base?

 

Answer: No.

 

 

Question type 4

Assume that you are a game designer. Now, the characters in a game have four attributes: life, experience, magic, and attack power. To increase the playability of the game, the game developer asks you to add an attribute to the character in the game. What attributes are you going to add?

 

Reference answer: Armor (or guard power), physical strength, agility, intelligence, etc.

 

I think these questions may help parents guide their children to play online games.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.