# Neural Network genetic algorithm game

**URL:** <https://discourse.processing.org/t/neural-network-genetic-algorithm-game/28146>\
**Category:** Coding Questions\
**Created:** [February 28, 2021, 6:37pm UTC](https://discourse.processing.org/t/neural-network-genetic-algorithm-game/28146 "2021-02-28T18:37:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)\
**Post date:** [March 2, 2021, 2:24pm UTC](https://discourse.processing.org/t/neural-network-genetic-algorithm-game/28146/4 "2021-03-02T14:24:19Z")

</div>

yes I remember this example! I can only give you a high level comment, which I suggest taking a look at the guideline

> [@Guidelines—Asking Questions](https://discourse.processing.org/t/guidelines-asking-questions/2147):
>
> Summary (TL;DR) Ask complete questions to get better answers! Be specific. For example: I want to load an image. I tried using createImg() , and I expected the image to be on canvas, but what happened instead was the image showing up below the canvas. Isolate your problem and work in small steps. Share only the code directly related to your problem if it is part of a bigger project, and if something isn’t working, try the smallest code that could do the thing you want. Can we run your code to …

What I noticed in you code is that you changed basically two major things - you are using tensorflow.js which doesn’t seem to be included in Dan’s example (or does he have another example that uses tf?), and you changed the “game” itself from the flappy bird to balloon popping. So, first it’s important to separate them to see which is actually causing the issue (the neural net or the game logic, or it can be both of them)

---

_[View the full topic](https://discourse.processing.org/t/neural-network-genetic-algorithm-game/28146)._
