Coder Social home page Coder Social logo

woctezuma / dungleon-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 97 KB

Solver for Dungleon.

Home Page: https://www.dungleon.com/

License: MIT License

dungleon wordle wordle-game wordle-solver dungleon-game dungleon-solver entropy maxent wordle-assistant wordle-cheats

dungleon-bot's Introduction

Note

I recommend to use the code at woctezuma/3b1b-wordle-solver, which is much faster!

Dungleon Bot

This repository contains Python code to find the best starter guesses for Dungleon.

Dungleon

Characters

Sprites

As official emojis: :bow_and_arrow: :bat: :moneybag: :yellow_circle: :dragon_face: :frog: :japanese_goblin: :crown: ๐Ÿง™โ€โ™€๏ธ :imp: :japanese_ogre: :skull: :spider: :bust_in_silhouette: ๐Ÿคก :trophy: :man_farmer: :person_fencing: ๐Ÿง™โ€โ™‚๏ธ :zombie:

Algorithms

I have collected a few open-source algorithms:

  • Simple maximizes the number of points attributed to guess feedbacks: ๐ŸŸง (2 points), ๐ŸŸฆ (1 point), โฌ› (0 point).
  • Complex minimizes the cardinality of the set of remaining solutions after each guess.
  • MinMax optimizes for the "worst case" scenario.
  • MaxEntropy maximizes the entropy of the set of patterns.

For each algorithm, there are two versions:

  • constrained: guesses are constrained to the set of valid solutions.
  • unconstrained: the set of guesses is 5-6 times larger, as invalid solutions are allowed.

Caveat: the Complex algorithm is very slow! Avoid using it if possible, because the results are not much different to other algorithms anyway.

Usage

Results

Constrained

  • Simple Simple
  • Complex Complex
  • MinMax MinMax
  • MaxEntropy MaxEnt

Unconstrained

  • Simple Simple
  • Complex Complex
  • MinMax MinMax
  • MaxEntropy MaxEnt

Perspectives

As in Wordle, Dungleon features a hard mode Crystal, where "any revealed hints must be used in subsequent guesses". Future development of the Dungleon Bot could take into account this additional difficulty.

In Dungleon, guess feedbacks mention if a character appears several times with a + in the top right corner of the character tile. This additional piece of information could be taken into account by the Dungleon Bot.

References

dungleon-bot's People

Watchers

 avatar  avatar  avatar

dungleon-bot's Issues

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

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.