Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [game-ai]

For questions related to game design involving AI.

1
vote
0answers
29 views

Action spaces for an RTS game

I think reinforcement learning would be a good fit for this problem, but I am not sure of how to deal with a seemingly infinite number of actions. In the beginning of each game (generic RTS game), the ...
1
vote
1answer
148 views

Adversarial Game playing using RL

I asked a question relating to TicTacToe playing in RL. From the answer it seems to me a lot is dependent on the opponent (rightly so, if we write down the Expectation Equations). My question is (in ...
1
vote
1answer
27 views

Using graph searching to solve peg solitaire?

Problem: I've been reading research papers on how to solve a peg solitaire using graph searching, but all the papers kind of assume you know how to do the reduction(polynomial time conversion) from ...
3
votes
1answer
80 views

How do I solve the problem of positioning 11 pieces into a 8x8 puzzle?

I was trying to figure out how to create a solver to the puzzle of putting 11 pieces in a board (8 x 8). I created the game in http://www.xams.com.br/quebra. It is possible to turn the piece 90 ...
4
votes
2answers
84 views

Neural Network with varying inputs (for a game ai)

I want to create a simple game which basically consists of 2d circles shooting smaller circles at each other (to make hitbox detection easier for the start). My goal is to create an ai which adapts ...
1
vote
0answers
31 views

Minimax combined with machine learning to determine if a path should be explored

I have an idea for a new type of AI for two-player games with alternating turns, like chess, checkers, connect four, and so on. A little background: Traditionally engines for such games have used the ...
4
votes
1answer
96 views

Can this tic tac toe program be considered AI?

I coded a tic tac toe program, but I don't know if I can call it artificial intelligence. Here's what I did. There is a random player, which always makes random valid moves. And then there is the ...
1
vote
2answers
74 views

Creative AI semester project (4 week time-frame)

I am taking AI this semester and we have a semester project. We can choose just about anything. I was wondering if anyone has a creative idea that I might be able to do. Nothing that is so extensive ...
0
votes
0answers
19 views

Superhuman AI to disguise as human players

TL;DR below. You entered a online mini video game. It's a fast-paced hypercasual game. But it's a ranked one - top 10 get prizes. The leaderboard resets and prizes are handed out every couple of ...
5
votes
1answer
55 views

Why didn't champion of the Go game manage to win the last game against AlphaGo, after winning the 4th one?

In the documentary about the match, it is said that after losing the 4th game, AlphaGo came back stronger and started to play in a weird way (not human-like) and it was pretty impossible to be beaten. ...
1
vote
0answers
51 views

Understanding alpha-beta pruning for simplified NIM

This is a simple version of NIM: Two players alternately remove one, two or three coins from a stack initially containing 5 coins. The player who picks up the last coin loses. What does alpha-beta ...
0
votes
1answer
31 views

OpenAI-Gym excess of actions

I'm trying to replicate the DeepMind DQN paper, and actually I'm using the OpenAI-Gym enviroment. I'm trying to get a decent score with Space Invaders (using ...
3
votes
0answers
27 views

Negative counterfactual regret

I am reading the paper Regret Minimization in Games with Incomplete Information on CFR algorithm. On page 4, the paper defines $R^{T,+}_{i,\text{imm}}=\max\{R^{T}_{i,\text{imm}}, 0\}$ after equation (...
0
votes
0answers
66 views

How to back-propagate illegal actions for policy gradient learning

When training a AI RL agent to play a game there'll be situations where the AI cannot perform certain actions lest they violate the game rules. That's easy to handle, and I can set illegal actions to ...
1
vote
1answer
51 views

How to encode card game state into neural network input

I'm trying create neural network to predict moves in a card game. I am looking for recommendations on encoding the game state to my input layer. It's a complex turn based collectible card game (...
1
vote
1answer
35 views

Game AI design for a multiplayer random board game?

I'm writing an AI for a board game, and previously I would just create a value maximizing state machine and tune the factors one at a time. However, the issues with this is getting apparent. My last ...
1
vote
1answer
50 views

Genetic programming with Objective-C

I have a complex wargame already developed in a aging Objective-C and I would like to improve the AI I have built the logic for self-play, fitness evaluation and evolution The hard-time is the ...
1
vote
0answers
19 views

Game-based or nasty chatbot for Facebook Messenger or Skype

Are there chatbots for Facebook Messenger or Skype available which are game-based, i.e. with which it is possible to play a short funny game? It should be possible to play the game for at least 10 ...
1
vote
1answer
41 views

Is AI research culture predisposed to adversarialism while even the mathematics is more friendly?

Language is how we communicate to one other in the lab, at home, and in educational settings. Word selection matters. Sometimes we don't select well. If we are writers, we may edit a word later or ...
2
votes
1answer
42 views

Could a neural network be capable to diferentiate between two boards of a game?

Let's propose, that I can define the state of a board in a board game, with 234 neurons. In theory, could I be able to train a neural network, with 468 inputs (two game boards), and 1 output, to tell ...
1
vote
0answers
36 views

What to study for this simple poker game?

I'm a programmer with a background in mathematics, but I have no experience whatsoever with artificial intelligence/neural networks. I'd like to study it as a hobby, and my goal for now is to solve ...
1
vote
1answer
147 views

Q-Learning tic tac toe - bad player

I tried to build an Q-learning agent which you can play tic tac toe against after training. Unfortunately the agent performs pretty poorly. He tries to win but does not try to make me 'not winning' ...
0
votes
0answers
31 views

Examples of strong symbolic AI for unsolved, non-trivial combinatorial games?

Looking primarily for research papers, but any info or insights on this subject are welcome. Strength does not have to exceed that of the best human player (such as Kasparov), just skilled human ...
1
vote
0answers
9 views

Are fuzzy commands resulting into a general game playing architecture?

During reading some papers about fuzzy systems, I've recognized a subtopic called “fuzzy commands”. The idea is to provide a sentence in natural language, like “move ball to right”, and the fuzzy ...
0
votes
1answer
60 views

How do I update the Q values of a Deep Q Network when exploring?

I am trying to implement a Deep Q Network to play Asteroids. Unfortunately, I am not sure how to calculate the Q value exactly, if I am exploring. For example, the agent is exploring for 1 second (...
2
votes
1answer
52 views

Game AI for “Lines” : help to get started

I am trying to find a good approach to create a computer player for the game "Lines" from gamious on Android. The concept of the game is pretty straightforward : Lines is an abstract ‘zen’ game ...
2
votes
1answer
58 views

Why do neural nets and machine learning tend to work well with MCTS, but not with regular Minimax game-playing AI?

I've often heard MCTS grouped together with neural nets and machine learning. From what I gather, MCTS uses a refined intuition (from maching learning) to evaluate positions. This allows it to better ...
1
vote
2answers
102 views

2-dimension input layer?

I am wondering is I can use a 2-dimensions features matrix rather than a feature vector as inout layer of a neural network For a WWII naval wargame, I have sorted out the features of interest to ...
5
votes
1answer
67 views

What is the appropriate approach to playing a game with incomplete state information?

I have a steady hex-map and turn-based war game featuring WWII carrier battles. I would like to improve the fixed policy for the AI using reinforcement learning. I have some beginner's questions, ...
2
votes
1answer
78 views

Large and Multiple-actions space

I have a steady hex-map and turn-based wargame featuring WWII carrier battles On a given turn, a player may choose different and independent actions 
(moving one, two naval unit, assigning a mission ...
1
vote
1answer
85 views

Wargame — Software and hardware requirement for reinforcement learning

I have a steady hex-map and turn-based wargame featuring WWII carrier battles I would like to improve the fixed policy for the AI using reinforcement learning and have a bunch of noob questions which ...
1
vote
2answers
71 views

Can Alpha–Beta be used on symmetric zero sum games?

This question was asked in an AI exam. How would you answer such question?
1
vote
1answer
78 views

Predicting fate of different actors in upcoming Avengers 4

How would one go about predicting which characters (actors) are going to die in the next Avengers movie. To elaborate a bit, given all leaked scripts (fake or not), interviews of different actors and ...
2
votes
1answer
124 views

Any interesting ways to combine Monte Carlo tree search with the minimax algorithm?

I've been working on a game-playing engine for about half a year now, and it uses the well known algorithms. These include minimax with alpha-beta pruning, iterative deepening, transposition tables, ...
4
votes
1answer
55 views

How does Hearthstone AI deal with random events

I want to learn a lot about the AI of CCG, such as Hearthstone. And now I have known one of the main algorithms that used in this kind of games, MCTS. It analyses the most promising moves, and expands ...
0
votes
1answer
57 views

which is best approach to choose for game playing problem? [closed]

Which is best approach to choose for game playing problem?
0
votes
2answers
59 views

Genetic programming with “karel the robot”?

Karel the robot is an education software comparable to turtle graphics to teach programming for beginners. It's a virtual stackbased interpreter to run a domain specific language for moving a robot in ...
2
votes
0answers
174 views

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,...
4
votes
0answers
72 views

Old video games intelligence

Around 2000, existed popular fights videogames. There, if you made the same kick movement for several running times, the CPU normally defended and caught your strategy. This is the case in Tekken 3 ie....
3
votes
1answer
42 views

how we find the length(depth) of game tik tok toe in Adversarial search?

when we perform tik tok toe game using adversarial search i know how make tree My Question is : is there any way to find the depth of tree which level is the last level.
1
vote
0answers
92 views

How to encode Azul game state as NN input

Question to NN practicioners. I'd like to encode Azul board game state as an input to NN, let's focus on 2-player variant for a while. There are 5 round "Factories" on the table (7 on picture, ignore ...
3
votes
2answers
127 views

MinMax and enormous branches

I have to build a KI for a made-up game similar to chess. As I did research for a proper solution, I came upon the MinMax algorithm, but I'm not sure it will work with the given game dynamics. The ...
10
votes
2answers
769 views

Is AlphaZero an example of an AGI?

From DeepMind's research paper on arxiv.org: In this paper, we apply a similar but fully generic algorithm, which we call AlphaZero, to the games of chess and shogi as well as Go, without any ...
0
votes
1answer
377 views

How to calculate fitness function of 8-queens problem?

In evolutionary computation and in particular in the context of genetic algorithms, there is a stochastic operation called "fitness function". The better a state, the greater the value of the fitness ...
1
vote
1answer
154 views

DQN Breakout adding an extra negative reward to help training?

I'm trying to train a DQN, so I'm using OpenAI gym and Breakout (Breakout-v0). I have altered the reward supplied by the environment: If the episode is not completed fully, the agent gets a -10 ...
0
votes
0answers
19 views

Task and motion planning with domain specific languages

In a paper published 6 years ago a novel domain specific language (DSL) for character animation was presented. High-level action commands are described in the XML format for authoring a virtual human. ...
0
votes
1answer
116 views

Is it possible to use a feed-forward neural network to predict the actions in reinforcement learning?

I have done a lot of research on the internet about Reinforcement Learning and I found encountered methods of Reinforcement Learning: Q-Learning and Deep Q-Learning. And I have developed a vague idea ...
3
votes
1answer
102 views

How to model a plumber dispatcher with Artificial Intelligence?

The domain of emergency call for clogged pipelines has to do with taking a call and managing the reaction of plumber departments. It is mostly a group oriented communication situation between the ...
1
vote
1answer
61 views

How to use Genetic Algorithm for varying lengths of solutions

Until now, I always thought that Genetic Algorithm can be used for problems of which the solution space can be encoded (modeled) as a chromosome of a specific length. However, some people claim that ...
3
votes
1answer
321 views

How do I apply reinforcement learning to a game with infinitely many actions?

I am trying to figure out how to use a reinforcement learning algorithm, if possible, as a "black box" to play a game. In this game, a player has to avoid flying birds. If he wants to move, he has to ...