/images/slides/astar.png" />
          </section>
          <section>
            <h2>A* in JavaScript</h2>
            <a target="_blank" href="https://github.com/bgrins/javascript-astar">https://github.com/bgrins/javascript-astar</a>
          </section>
          <section>
            <h2>Adding weight to each tile</h2>
            <pre><code>
generateMap() {
  let graph = [];

  for (let i in this.map) {

    graph.push([]);

    for (let v in this.map[i]) {

      let cellWeight = 100;

      if (this.