C # Warcraft Dota name PK game

Source: Internet
Author: User
Tags dota

In my spare time, I love VS to come to several Dota games. Later I was inspired by a flash game and made a Dota name PK. The source code is ugly.

Introduction:

Each name undergoes MD5 processing and some simpleAlgorithmA hero is generated. Heroes are divided into three categories: Force (High Life), agile (high armor, high attack), and smart (high magic resistance and high magic damage.

Each type of hero has common attacks, skill attacks, stun skills (make the other side dizzy or slow down, pause the action for one round), passive Dodge skills (the other side of the attack fails), and ultimate aoyi, most skill names are from Dota.

The probability that each skill is randomly cast. That is to say, there may be several combat results in the same two names.

Haha ~~ The following uses Java and. Net for a drill (which does not represent any position ):

 

[Java] Smart hero life: 1188 strength: 49 Agility: 48 intelligence: 151 attack: 166 armor: 14 magic resistance: 45
[. Net] force hero life: 2100 strength: 125 Agility: 64 intelligence: 50 attack: 200 armor: 19 magic resistance: 15
[. Net] casting a "double-edged sword "! [Java] was severely hit and hurt by 236!
[Java] meditation spell, cast "Shock Wave "! A huge wave of energy hits [. Net], causing 450 points of damage!
[. Net] launched "War trample "! [Java] vertigo and 129 points of damage!
[. Net] launches common attacks to [Java], resulting in 188 points of damage!
[Java] silience, cast the "Dragon chop "! A firebird gathers [. Net], causing 357 points of damage!
[. Net] casting a "double-edged sword "! [Java] was severely hit and hurt by 233!
[Java] launches a common attack to [. Net], causing 142 points of damage!
[. Net] attacks fail!
[Java] meditation spell, cast "Shock Wave "! A huge wave of energy hits [. Net], causing 452 points of damage!
[. Net] lost the hammer of the storm "! [Java] vertigo and 136 points of damage!
[. Net] launch an attack! [Java] the meditation spell has enabled "energy shield" to offset the damage!
[Java] knocked down !! [. Net] wins !! _

 

The following is the game page referenced by IFRAME:

 

IFRAME is not supported. paste the address:

Http://www.iiilaws.com/md5fight.aspx

Recently I am studying Silverlight, hoping to develop a graphic version one day ...... Haha

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.