Coder Social home page Coder Social logo

pygemtd's People

Contributors

amarvin avatar simpsus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pygemtd's Issues

fitness function for a maze

to enable a first naive approach to the maze of optimal length, we need a function that returns the fitness (i.e. the length of the path) for a grid. In pseudocode:

fitness(grid):
  result = 0
  for pair of waypoints:
    result += A_star(pair)
  return result

Longest path strategies

Let's just share ideas about longest path strategies that may inspire algorithms, as the gradient-free methods (e.g. genetic algorithm) doesn't seem promising for this type of problem.

How to get a creep breach processed?

Design question: at the moment, a creep notices it is breached and sets a flag. The game needs to process a breach (deduct live, etc), but the game does not know the creeps. The wave knows the creeps and can detect a (newly) breached creep.

Option one: flag in the wave. negative: double flagging and twice detection (wave and game)
Option two: register a callback (in the game) with the creep. pro: would be an active call. negative: currently the creep generator is a lambda, so is another thing to do after creation, and the wave does not know the game, so the game would have to register the callback at the wave as well. again, double passing.
Option three: ??

grid size

100x100 is way too big for anything ... especially for any algorithm trying to process it

maybe 40x40?

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.