Coder Social home page Coder Social logo

Comments (2)

smack42 avatar smack42 commented on May 18, 2024 1

I've copied the game state from your screenshot into DriftingDroids:

!DriftingDroids_game!C5DFD19D!AAAEL3ja5ZJLCoAwDETzRBBBxCt4VvdeWBdWrf2
kaS9gYEqSTpMMjYjIcqN3x+GwO6wO2zQOM8rEtJBOCfg8JRWdVWViHdKYwIh9EKojYUft
1s1i2M/Qmj+35JNNg3H7yEPJx9ZKmkMrzuejcGp6avP94L+xF/63C+CdU7r35AKtFQUm!

The latest released version (1.3.7) of DriftingDroids finds a 9-moves solution, because it doesn't allow the red robot to move straight to the goal:

1:  ↑  red North
2:  ←  red West
3:  ↓  red South
4:  ←  red West
5:  ↑  red North
6:  →  red East
7:  ↓  red South
8:  →  red East
9:  ↓  red South

However, the latest code change (commit 67057cf, implemented in response to issue #13) allows the program to find two 7-moves solutions, with the red robot moving straight to the goal:

1:  ↓  yellow South
2:  →  yellow East
3:  ↓  yellow South
4:  ←  yellow West
5:  ↓  green South
6:  →  yellow East rebound
7:  →  red East
1:  ←  red West
2:  ↓  green South
3:  ←  green West
4:  ↑  green North
5:  →  red East rebound
6:  ↓  green South rebound
7:  ←  red West

So, the issue you've reported is not a bug nor a missing feature of DriftingDroids. Please make sure that your program uses the latest code of the DriftingDroids solver.

from driftingdroids.

rubo77 avatar rubo77 commented on May 18, 2024

OK, so this is the same problem as solved in #13.
Now I remember: I tested in Roboyard 7.1 which still uses the solver without that fix.

sorry the bother again.

I hope I will soon be able to implement the board-setting im/export into Roboyard ;)

from driftingdroids.

Related Issues (20)

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.