Tag:Hero

  • C #: simplified syntax of delegation, talk about anonymous methods and closures (Part 1)

    Time:2022-5-2

    0x00 Preface Through previous blogDetailed description c#: the cook talks about the entrustment, which are hidden by the compiler and given by U3DWe implemented the process of using delegates to build our own messaging system. However, in daily development, there are still many developers who choose to alienate the entrustment for one reason or another, […]

  • PyGame game development – Space War (with source code)

    Time:2022-1-31

    Originality is not easy. Plagiarism and reprint are prohibited in this article. Infringement must be investigated!   1、 Game creativity and setting 1.1 game creativity The game takes the 2022 Zhangjiakou Winter Olympic Games as the creative background. The picture and the picture are designed with the theme that the two mascots recapture 24 emblem […]

  • Hero League data score live broadcast network / APP custom development source code

    Time:2022-1-17

    If you need to customize the development source code of hero League data score live broadcast network / APP, you need to process the real-time data of hero League and the result data of hero League first.Take the hero League data results as an example, which needs to be collected Hero alliance data API interfaceGET/api/result/lol […]

  • Python crawling King glory skin map

    Time:2022-1-8

    1、 Look at the effect first 2、 Tools development environment System: windows7 64 bitPython version: 3.6Pychar version: February 2019 interpreter The official website address is:https://www.python.org Software download ▼sublime || JetBrains PyCharm Community Edition 3、 Get to the point Page analysis website: Hero information list page – Hero introduction – King glory official website – Tencent […]

  • Develop a small game with HTML5

    Time:2021-11-18

    Effect drawing first Preparation before starting game.html js/Create insidegame.js images/There are three pictures inside, a background picture (background. PNG), a hero picture (hero. PNG) and a monster picture (monster. PNG) staygame.htmlWrite the following lines of simple HTML code: <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”utf-8″> <title>Simple Canvas Game</title> </head> <body> <script></script> </body> </html> We aregame.htmlIntroducedgame.jsFile, […]

  • Hero League data interface [Korean clothing player] database call code

    Time:2021-10-23

    Hero League E-sports API dedicated data interface sharing codeShare and use wild sub datahttp://www.yezishuju.com/Sample code of data interface call of E-sports APIExample demonstration: Hero League [Korean clothing player] interfaceThe details are as follows:import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.annotation.JSONField; import java.nio.charset.StandardCharsets;import java.nio.file.Files;import java.nio.file.Paths;import java.util.List; /**@API: score [email protected]: https://www.xxe.io/@Website: http://www.yesesport.com/@Website: http://www.yezidianjing.com/*/public class CsgoMatch { public static void main(String[] args) {try […]

  • Factory mode of deep laravel kernel

    Time:2021-8-21

    Heroes and actions, the birth of dependence First, define a hero. A hero has some behaviors: class Hero { protected $behavior = []; public function show() { var_dump($this->behavior); } } Then define an attack behavior: class Attack { protected $value = 0; public function __construct($value) { $this->value = $value; } } Transform the hero class […]

  • API data interface of League of heroes [Latin America LLA]

    Time:2021-6-15

    League of HeroesE-sports APIspecial-purposeElectronic competition dataInterface sharing code Example demonstration: League of heroes [Latin America LLA] interfaceShare and use wild datahttp://yes-esports.com/Example code of data interface call of E-sports API The details are as follows:import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.annotation.JSONField; import java.nio.charset.StandardCharsets;import java.nio.file.Files;import java.nio.file.Paths;import java.util.List; /**@API: score [email protected]: https://www.xxe.io/@Website: http://www.yesesport.com/@Website: http://www.yezidianjing.com/*/public class CsgoMatch { public static void main(String[] args) […]

  • Hero alliance [Latin America LLA] E-sports API data interface

    Time:2021-6-4

    League of HeroesE-sports APIspecial-purposeElectronic competition dataInterface sharing code Example demonstration: League of heroes [Latin America LLA] interfaceShare and use wild datahttp://yes-esports.com/Example code of data interface call of E-sports API The details are as follows:import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.annotation.JSONField; import java.nio.charset.StandardCharsets;import java.nio.file.Files;import java.nio.file.Paths;import java.util.List; /**@API: score [email protected]: https://www.xxe.io/@Website: http://www.yesesport.com/@Website: http://www.yezidianjing.com/*/public class CsgoMatch { public static void main(String[] args) […]

  • Python – Project – Games 2 – Animation

    Time:2020-10-1

    Realize the game cycle and event monitoring Project source code In the last lecture, you need to complete this effect. If you haven’t finished, please don’t read on!! Remember, remember, remember. Say important things three times Let’s take a look at what a game cycle is A good understanding of the so-called game cycle is […]

  • Classical school

    Time:2020-7-10

    #Select the heroes whose Max HP is greater than 6000 and max mana is greater than 1700, and then sort them from high to low according to the sum of the two SELECT NAME     ,     hp_max,     mp_max  FROM     heros  WHERE     hp_max > 6000      AND mp_max > 1700  ORDER BY     ( hp_max + mp_max ) DESC;   #Query the hero with Max HP and max mana greater than […]

  • PHP data structure single chain table

    Time:2020-5-11

    <?php //Single chain table class hero{ var $name; var $sn; var $names; var $next; public function __construct($sn=”,$name=”,$names=”,$next=”){ $this->name=$name; $this->sn=$sn; $this->names=$names; $this->next=$next; } } //Head node $head=new hero(); //Add link list node function addHero($head,$hero){ $cul=$head; while($cul->next!=null){ if($cul->next->sn>$hero->sn){ $hero->next=$cul->next; $cul->next=$hero; $flag=”; break; } $cul=$cul->next; } if(!isset($flag)) $cul->next=$hero; } //Ergodic list function showHero($head){ $cul=$head; while($cul->next!=null){ echo $cul->next->sn.’ ’.$cul->next->name.’ ’.$cul->next->names.'<br>’; $cul=$cul->next; […]