Coder Social home page Coder Social logo

wumpus's Issues

lifes : restart_agent

Agent may have lifes to spare.

The same labyrinth will be restarted,

  • agent goes back to (1,1)
  • Wumpus keep same state (dead or alive)
  • If no arrows when dying, set it to 1. Otherwise, keeps the same amount.

The game will not call init_agent/0, but restart_agent/0.

Arrows can get you

Arrows can keep going and get back to you, killing you.
This is a new type of hazard.

Its important to to remember from the original game:

  • You can say the squares you want the arrow to go
  • If you make a mistake, the arrow goes random
  • If the arrow manages to circle back to you, you die

Also, this is important only if the wumpus move when shooted, because then you may want to shoot at some distance.

reutilize the arrow

After shoot, if it did not kill the wumpus, it will be found near de wall it hit.

No glitter, no perception.

A blind grab will do the magic.

`dodeca` feedback / feature requests

Sua opinião é muito importante para nós! 😄

Pessoal,

Gostaria de receber um retorno do que acharam do modo de jogo dodeca no manual.

Também se puderem, coloquem sugestões sobre cada item do jogo (Wumpus, Morcegos, Buracos, Ouro, Agente, Flechas, Vidas, Navegação, qualquer coisa). Comentários sobre a habilidade, a quantidade, alguma outra forma criativa de alterar o jogo para melhorá-lo, torná-lo mais desafiador no que estiver fácil ou mais fácil no que estiver muito complicado. Não prometo aceitar todas sugestões, pois tento deixar o jogo com o mínimo de modificações a partir do original, mas algumas alterações talvez façam sentido, e aí várias cabeças pensam melhor que uma.

O que achou do modo dodeca?

Tem alguma sugestão geral (para todos os modos)?

measure time

Create a benchmark to evaluate an agent performance.

The arrow's problem

Bugs number #18, #6 and #5 try to define arrows behavior.

This bug is going to summarize and to define what would happen.

From #18, reutilize the arrow: arrow will be found near the wall if not killed wumpus. No glitter, no perception. Just a blind grab will get it.

From #6, arrow can get you: you may say what squares the arrow can go. If you make a mistake, the arrow goes random. If the arrow circle back to you, you die. This is a new hazard. It only makes sense in the dodeca word.

From #5, you can set the starting number of arrows. The original game start with 5. Another option is to find an arrow.

world_setup(...)

A more clean code.

Pits - number or probability
Gold - number or probability
Bat - number or probability
Wumpus - fixed 1? or number or probability? Lets see...

nearest_orientation

Give priority to the current angle

unless... facing (1,1), than it should avoid that angle.

Protect predicates

Agent canot use any simulator predicates except (*)

  • start/0

Use:
:- module(wumpus, [start/0]).


Update this list

Scores

  • +1000 for each piece of gold after agent leaves the cave
  • -500 if dead:
    1. Wumpus food
    2. Falling in a pit
    3. Starved to death (too many actions)
  • -1 for each action:
    1. goforward
    2. turnright
    3. turnleft
    4. grab
    5. shoot
    6. sit
    7. climb

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.