Questions tagged [computer-games]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
6 views

i couldnt decide between unity gaming and unreal engine [closed]

https://unity.com/ https://www.unrealengine.com/en-US I couldn't choose one platform because I am just starting and I don't know which engine is best according to my need.
user avatar
2 votes
1 answer
28 views

How can I best represent my 2D thrust problem as a linear programming problem?

While my question stems from game dev, the problem itself isn't as much about the game, but more about correctly representing my problem as a linear programming problem that I can solve with a linear ...
user avatar
  • 123
2 votes
0 answers
26 views

How do video games like Age of Empires code how a soldier spots an enemy soldier and decides to attack?

I was just curious how do RTS games actually implement this. There are usually thousands of units on the whole map. They all have usually unique range of sight and then there's also settings for ...
user avatar
  • 21
2 votes
1 answer
22 views

Comparing various ways to move a game actor having time-dependent velocity

Assume I have a game actor (name it MyActor for further references) to be moved up and down according to $z=f(t)=A\sin \omega t$ (or any non constant velocity). The ...
user avatar
1 vote
0 answers
46 views

What algorithm is best for resource gathering in an RTS game in quickest time?

Though the concept can be for many RTS games but lets use the specific system of 'age of empires'. For simplicity one resource will be considered. Food. So in the game there are villagers who gather ...
user avatar
2 votes
1 answer
57 views

Finding an optimal solution in a tile painting game

The Problem Find the shortest sequence of moves that makes up the optimal solution of a level. If there is more than one optimal solution, just find one of them. Game Rules The game level is made up ...
user avatar
2 votes
0 answers
127 views

How computationally hard are the battle systems of Paper Mario and Paper Mario: The Thousand Year Door?

What is the time complexity and space complexity of working out, in suitably generalised versions of the battle systems of both Paper Mario 64 and Paper Mario: The Thousand Year Door: The minimum ...
user avatar
1 vote
2 answers
122 views

Complexity of simulating idle games (pt1)

An idle game (Cookie Clicker is a well-known example) is a game where you set up automatic resource production, and most of reasonable human play is then waiting as resources accumulate. Typical ...
user avatar
3 votes
2 answers
154 views

Playing video games to solve SAT instances

This paper shows that computer games, such as Super Mario, are NP-hard, by reduction from SAT. It may be possible to use this reduction to help solve hard instances of SAT: use the reduction to ...
user avatar
2 votes
2 answers
131 views

How is CPU different from GPU?

A central processing unit offers to handle various operations like calculating, watching movies, making presentation etc. While a graphics processing unit is majorly used for the purpose of video ...
user avatar
1 vote
1 answer
46 views

Where is the theory about "binary toggling games"?

Let us -- using parameters $M, N$ and $L$ -- create an ordered set of size $M$ of $N$-bit long vectors $V$ and initialize them randomly: $V_k[i] = b \sim Bin(n=1, p=0.5)\ \forall i \in \{0\ ..\ N-1\}...
user avatar
5 votes
2 answers
115 views

Detecting conservation, loss, or gain in a crafting game with items and recipes

Suppose we're designing a game like Minecraft where we have lots of items $i_1,i_2,...,i_n\in I$ and a bunch of recipes $r_1,r_2,...,r_m\in R$. Recipes are functions $r:(I\times\mathbb{N})^n\...
user avatar
  • 153
2 votes
1 answer
464 views

What is the best solving algorithm for a game with stacks?

Game Explanation: Suppose there is a game with cards that have numbers from 1 to n. Each card has a different number so there are not two cards with the same number. The deck is scrambled. We chose ...
user avatar
3 votes
2 answers
340 views

Why isn't the Generalized Super Mario Bros. obviously in NP?

It is shown in the paper: "Classic Nintendo Games are (Computationally) Hard" by Greg Aloupis, Erik D. Demaine, Alan Guo, and Giovanni Viglietta that the Generalized Super Mario Bros. (SMB, for short) ...
user avatar
  • 9,219
1 vote
0 answers
38 views

How to go about designing a quiz that changes difficulty based on user performance?

I thought about using a machine learning algorithm to learn the performance patterns of the quiz taker and model the next quiz based on how he/she performed. So each question will have a difficulty ...
user avatar
0 votes
1 answer
25 views

What is the name of the domain or theoretical problem of transmitting game states in an online game

For example, in chess (or any online game), you broadcast the game state to other players at certain times (every n-milliseconds or after a move is made). Thereupon, a player's game client renders the ...
user avatar
2 votes
0 answers
221 views

Moon lander algorithm

Not talking about the actual moon lander, but an old game that was inspired by it (see screenshot). Suppose I wanted to write a program that "plays" this game: Can only operate the vertical thruster ...
user avatar
2 votes
1 answer
79 views

The task of recognizing game units in the screenshot

I'm new to computer vision and I want to solve the task of recognizing the game units of the game Clash Royale in the screenshot. Briefly, there are about 70 different types of gaming units belonging ...
user avatar
  • 123
0 votes
0 answers
291 views

What is the best heuristic function for evaluating the state in game of sprouts?

We are developing game of sprouts bot using min-max algorithm. We need a good heuristic function for evaluating the state of the game/player. Can someone please suggest?
user avatar
0 votes
0 answers
44 views

Reducing amount of possible states solving Pacman by searching

I consider simplified Pacman game: movement is discrete (on the grid), ghosts move deterministically based on difference between their and Pacmans coordinates, ghosts move every second turn, ghosts ...
user avatar
1 vote
1 answer
686 views

Which algorithm for game matchmaking in tournament

I organize amateur tournaments every week with random players. Every week, players sign up, and I get a list with: Name Rank (1, 2 or 3) Role (s) (DPS, TANK and HEALER) I need to get balanced teams ...
user avatar
0 votes
0 answers
798 views

Board Game algorithms

I have to find an evaluation function in which we evaluate the state of the game in each round. The game is like " roborally " , it is 2 player-Game in which there are a board and cards ...
user avatar
  • 319
3 votes
1 answer
665 views

How to validate a connect X game (Tick-Tak-Toe,Gomoku,...)?

Currently I am working on a Gomoku AI (or generally Connect-X games). Implementing the search tree was no problem, but then I got to the point where I had to implement the value function and was ...
user avatar
  • 131
4 votes
3 answers
1k views

Algorithms for procedural generated mazes

For the purposes of this question, a maze is a spanning tree on a square grid (although the type of grid isn't super important). There are many Maze generation algorithms, but they only work on a ...
user avatar
  • 756
0 votes
0 answers
173 views

Neural Network Inputs For Video Game use (DotA 2)

I am currently working on a project to build and train a neural network to play DotA 2 (at least be able to play like a really bad human). The thing is all the neural network I have built before were ...
user avatar
  • 1
0 votes
0 answers
171 views

Reversible 2D Shape Descriptor

This is a research problem and I am just wondering if there is any already existing answer in any computer vision related paper that may have skipped my notice since this is not my active area of ...
user avatar
52 votes
6 answers
14k views

Why are some games np-complete?

I read the Wikipedia entry about "List of NP-complete problems" and found that games like super mario, pokemon, tetris or candy crush saga are np-complete. How can I imagine np-completeness of a game? ...
user avatar
  • 637
0 votes
0 answers
60 views

How motion capture system works?

Can you explain in step-by-step basis of how motion capture system work? Especially the part, that enables the 3D models to mimic the movement of the actor.
user avatar
  • 101
2 votes
1 answer
1k views

Why is the video game Braid Turing-complete?

It's written in wikipedia https://en.wikipedia.org/wiki/Turing_completeness#Games that the video game Braid is Turing-complete. I've played Braid before but I can hardly reconcile it with Turing ...
user avatar
  • 121
1 vote
0 answers
48 views

Bounded pairwise distance on moving points

Suppose you're writing a video game that takes place on a large rectangle (2d). You have a large list of entities (monsters, spells, and so forth, represented as points) living on this rectangle, and ...
user avatar
  • 111
1 vote
0 answers
183 views

Good language for introduction to self-modifying algorithms? [closed]

So I am trying to find a language with which i can write code to build/search through deductive reasoning 'nets', as well as self-modify it's search algorithms based on information learned from these ...
user avatar
5 votes
2 answers
221 views

What data structure might this game use?

This question is not about game development or about actual implementation details. I was playing Little Alchemy yesterday. (Warning: Productivity hazard.) You start with the four classical ...
user avatar
  • 325
5 votes
1 answer
784 views

Consensus protocols in multiplayer video games

I'm not 100% sure this appropriate for CS. Sorry. I'm looking for prior art on an idea I had, but either my Google fu is lacking, or it genuinely hasn't happened. In distributed systems, there are a ...
user avatar
  • 151
1 vote
0 answers
42 views

Voronoi game in discrete space

Here i want to discuss about Linear Voronoi game. The game consists of two players, and a finite set of users placed along a line. Each player has 2m facilities, where m>0 is a fixed integer. The ...
user avatar
  • 11
2 votes
2 answers
106 views

How to sample random game input that looks similar to human control?

What I would like to do is improve upon projects like 'RNG plays pokemon'. There, a computer produces a random sequence of inputs that are transmitted to an emulator and played in-game. Though this ...
user avatar
4 votes
2 answers
411 views

Can systems that prevent double-spending (e.g. crypto-currencies) be used to attach other unique data?

The Bitcoin-solution can be described as "[...] a solution to the double-spending problem using a peer-to-peer network. (official Bitcoin paper, PDF, abstract, first page). Now I wonder if a similar ...
user avatar
  • 141
1 vote
0 answers
141 views

Any applications that need fast insert or delete for quadtrees?

I know that quadtree could be used in collision detection. But most articles I found are related with quadtree construction and retrieval. I wonder if there are some circumstances which involve both a ...
user avatar
  • 111
3 votes
2 answers
128 views

Is it possible to "unshift" onto a queue using this theoretical "queue automaton"?

I have been playing Manufactoria, a game in which one has to build a production line that tests/modifies "robots". Each robot has a "tape" where each cell is colored either red, green, blue or yellow. ...
user avatar
1 vote
1 answer
111 views

Isn't software needed from programs to run? [closed]

I am a student who has entered a game programming competition called FBLA at school, and I sent them an email because I had a few questions about how the competition is ran. The main question I had, ...
user avatar
2 votes
1 answer
94 views

Whats the name of this search game?

I am struggling in finding the name of this game (in order to find research papers related to it in the literature). Given an initial word $X$ and a target word $Y$, what is the minimum number of (...
user avatar
3 votes
2 answers
145 views

What's the value of this game (rebalancing counters)?

Suppose you have the following game: There are infinitely many counters $\{c_1,c_2,\ldots\}$, all initialized to 0. In each step, you may choose a counter $c_i$ and increase it's value by 1. ...
user avatar
  • 2,594
1 vote
0 answers
98 views

How hard is it to play 1-dimensional minesweeper optimally? [closed]

(This is based on my earlier MSE question that has been stagnant for just over a week, since the best answer only addresses the case of two mines and does not even completely resolve that.) What is ...
user avatar
16 votes
2 answers
254 views

A scoring approach to computer opponents that needs balancing

This question is about an approach to computer opponents that I have created and are either currently being used, or are planned to be used, in several computer games. Background Last year, when ...
user avatar
6 votes
1 answer
854 views

Algorithms to play randomized game

I'm interested in building an AI algorithm to play a board game. This is a sequential two-player game, where they alternate taking turns, so minimax or alpha-beta algorithms sound natural. However, ...
user avatar
  • 143k
2 votes
4 answers
782 views

Speeding up a program solving Icosoku

I bought a great puzzle called Icosoku. Wikipedia describes it as: "The puzzle frame is a blue plastic icosahedron, and the pieces are 20 white equilateral-triangular snap-in tiles with black dots and ...
user avatar
3 votes
1 answer
388 views

Can Real-Time Strategy games be ever solved?

With the advent of BWAPI, many AI enthusiasts have been making amazing AIs that can compete against top players in Starcraft. This led me to wonder if RTS (Real-Time Strategy) games can ever be solved ...
user avatar
  • 131
1 vote
1 answer
174 views

Extreme instancing for computer graphics

Instancing in GPU's, from my little knowledge, simply draw the same object at multiple locations. Each "instance" is just a copy of the same model at a different location. Any local effects, such as ...
user avatar
  • 171
1 vote
0 answers
53 views

A text for virtual environments seminar

What is a good textbook for a seminar about virtual environments, virtual worlds, augmented reality and similar topics? The seminar is at the graduate studies level and is supposed to give ...
user avatar
  • 131
3 votes
2 answers
349 views

What could you learn from studying player movement and behaviour on online FPS games?

Just thinking of Counter Strike as a canonical example, if you have a coordinate representation of the map and for every player you have a complete history of everything you might need for every ...
user avatar
  • 131