Giter VIP home page Giter VIP logo

knightslayer's Introduction

KnightSlayer

This is a solution to the game "Dragons of Mugloar" http://www.dragonsofmugloar.com/ using a very simple weight based network, which is based on the knight, and adjusts weights depending on the weather.

Currently can achieve >= 100% accuracy.

From multiple iterations of the code, I think I have completely reverse engineered the game. Now that I have fully realized how the game works, there is a lot of dead code, that is no longer necessary.

How to win the game

Each of the knight stats have a direct opposite for the dragon Knight Attack = Dragon Scale Thickness Knight Armor = Dragon Claw Sharpness Knight Agility = Dragon Wing Strength Knight Endurance = Dragon Fire Breath

It is as simple as checking the weather:

  • If it's storming, you have two options, but the idea is the same. You count it as a fight, but it is your choice to send or not to send a dragon
  • If it is foggy, just send a dragon with the same stats as the knight, don't know if the stats even matter, but you seem to win every time
  • If it is raining, set the scale thickness to 5, claw sharpness to 10 (to cut through the boat) and the wing strength to 5. Leave the fire breath at 0, because it is useless in the rain.
  • If it is dry, simply set all stats to 5, and that will make the dragon "balanced" or "zen".
  • If it is normal weather, make the dragon the same as the knight, find the highest stat of the knight, and increase the weight of that stat in the dragon. If there are two identical highest stats, take the first one, like it is listed above.

That is seriously it, really simple game if you find out all the rules.

If you count that you win storms by not even sending a dragon, but still count that the knight is dumb enough to go to a battle, then you can get percentages higher than 100%.

knightslayer's People

Contributors

vilsol avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.