All Questions
13 questions
0votes
0answers
32views
Why is training for the game 2048 not working well for me?
So i started training neural networks for the game 2048. Here is my code for using DQN algorithms to train. The gymnasium env code should be OK, so im not putting it here, but if you need, here is the ...
1vote
1answer
121views
RL agent for autonomous vehicle is able to follow the road but can't avoid crashing at all (Highway-Env / Racetrack Env.)
I coded some deep RL algorithms (DQN and SAC) with tf2/keras to solve an environment where a vehicle needs to follow the track and avoid crashing into one other vehicle (there is only one other ...
1vote
2answers
106views
How to Represent Boardless Board Game as Input to RL Model?
I am currently doing my thesis project by creating an Imitation Learning (IL) agent that learns to play the board game Hive, which lacks a traditional 2D board. Pieces are placed relative to one ...
1vote
0answers
417views
Why doesn't this Monte Carlo Tree Search algorithm work properly?
PROBLEM I'm writing a Monte-Carlo tree search algorithm to play chess in Python. I replaced the simulation stage with a custom evaluation function. My code looks perfect but for some reason acts ...
3votes
1answer
435views
q learning appears to converge but does not always win against random tic tac toe player
q learning is defined as: Here is my implementation of q learning of the tic tac toe problem: ...
1vote
0answers
289views
How do i start building an autoclick bot for pubg mobile?
I want to make a bot which clicks the fire button on the mobile screen upon seeing an enemies head. In pubg mobile which is an android game you have to control the fire button and the aim along with ...
4votes
0answers
366views
Deep Q-Network (DQN) to learn the game 2048
I am trying to build a Deep Q-Network (DQN) agent that can learn to play the game 2048. I am orientating myself on other programs and articles that are based on the game snake and it worked well (...
3votes
0answers
452views
Implementing AI/ML for the card game "Cheat"
Background info In Python, I've implemented a rudimentary engine to play "Cheat", supporting both bots and a human or only bots. When only bots are playing, the game is simulated. When placing cards,...
3votes
1answer
345views
Using a DQN with a variable amount of Valid Moves per turn for a Board Game [duplicate]
I have created a game on an 8x8 grid and there are 4 pieces which can move essentially like checkers pieces (Forward left or Forward right only). I have implemented a DQN in order to pull this off. ...
2votes
1answer
1kviews
Creating a self learning Mario Kart game AI?
I will be undertaking a project over the next year to create a self learning AI to play a racing game, currently the game will be Mario Kart 64. I have a few questions which will hopefully help me ...
2votes
0answers
175views
Mapping Actions to the Output Layer in Keras Model for a Board Game
I have created a game based on this game here. I am attempting to use Deep Q Learning to do this, and this is my first foray into Neural networks (please be gentle!!) I am trying to create a NN that ...
2votes
3answers
547views
Can genetic algorithms be used to learn to play multiple games of the same type?
Is it possible for a genetic algorithm + Neural Network that is used to learn to play one game such as a platform game able to be applied to another different game of the same genre. So for example, ...
4votes
1answer
2kviews
What is the typical AI approach for solving blackjack?
I'm currently developing a blackjack program. Now, I want to create an AI that essentially uses the mathematics of blackjack to make decisions. So, what is the typical AI approach for solving ...