I'm working with a quiz chatbot,  first it will ask user for his name, roll number and passcode, then start asking quiz questions one by one  problem is when i'm doing context out from webhook with some parameters, what i want to set is quest...
I have a tic-tac-toe game built with JavaScript. I've written the logic for the computer AI part in a function. I'm wanting to call the function on the upper part of my code but it's not working. Does anyone have any suggestions of how to...
I'm making a bot for a project called Ogar, an Agar.io server implementation written in Node.js.  This bot has an obstacle, a green spiky cell called a virus (see illustration). I need to program this bot to avoid that obstacle, but I'm with...
Summary: deep-learning networks return undefined for output when activated  I've been working with synaptic.js to make neural-networks in the browser for a while and I've decided I want to implemented deep-learning for a project I'm worki...
I've tried to rewrite neural network found here to javascript. My javascript code looks like this.  function NeuralFactor(weight) {     var self = this;     this.weight = weight;     this.delta =  0; }  function Sigmoid(value) {     return 1 / (1...
I'm struggling to code a circular-shaped detection area for enemies aggro detection. Currently, enemies are pulled if the player x and y position collide with the enemy x and y position plus and minus its aggroDist.  Here is the current code :  i...
Facing this issue in the implementation of face recognition on the webcam camera for the browser using node js for the web application. This error only comes when I add more than 1 name in my labels in loadLabeledImages() function. If I have one name...
I try to make a simple game like arkanoid, but using SynapticJs (neural network library).  In the first step, I create a ship, and a ball. The ball bounce in the limits of canvas, and ship, only move for X axis, and stop in the limits. Now I don'...
I am writing a tic-tac-toe game in javascript. I done with the GUI, ect, but I still have a problem with the AI. I use the Alpha-beta-Prune to find the win move. However, my code never give the move that can win a game. I did a lot of research but st...
I don't want the AI to be able to beat the player, I want the AI to analyze the player's playstyle, and mimic it.  My current plan is to track every action the player makes, and put it in a group depending on the situation. So if I fireball a...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.