Questions tagged [games]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-3 votes
1 answer
164 views

How to implement state machine to card games such as poker or russian poker?

These are my class designs: I also have Controllers where I can create table, create users add users to table, deal hands simulate user bets using PostMan (Above classes are game engine classes, I ...
user avatar
  • 11
2 votes
2 answers
251 views

Snake Game design

I am designing Classic Snake game using OOPS.I will have the following classes at top level : Game { Board board, Snake snake; } Board { Cell cells[]; } Cell { int x, int y, ...
user avatar
  • 81
0 votes
0 answers
59 views

pruning tree search in multiplayer zero-sum games with loss conditions

I'm trying to write a program to play a simple multiplayer (it's safe to assume less than 10 players) game where each player has a number of resources. Every turn the players make decisions that ...
user avatar
  • 117
-2 votes
3 answers
260 views

What is done when an urgent fix for an app is needed but updates have to be approved by Apple/Google etc?

I have very little experience in this area, so sorry if I use any incorrect terminology or if this is a stupid/simplistic question in general. But from what I understand, when a developer wants to ...
user avatar
  • 107
0 votes
1 answer
92 views

Game loops and components

I researched a lot about game loops but most of the explanations I found credible also stay at a high level. I still don't understand the functionality of the components in a game loop. Let's consider:...
user avatar
2 votes
3 answers
1k views

What does it mean when something is hard-coded like in gaming?

I'm trying to remove some restrictions programmed into a game like Sims 3 but some features like age restriction are hard-coded in the game's code so I read some tutorials and I found out that it's ...
user avatar
-2 votes
1 answer
166 views

How can a html 5 game made licensed?

How a HTML5 game can be buyable? I mean, if it is HTML, even though you obfuscate the code or apply encryption, the whole html and javascript is already on your browser means you already have the ...
user avatar
0 votes
1 answer
119 views

Are user generated PW's a thing of the past for most apps?

I'm making a online game where I need to preserve some things for the players so each will have an account. However, I don't want to get into the business of storing user created passwords since that'...
user avatar
1 vote
1 answer
124 views

What kind of pointer bug is this specifically?

UncommentatedPannen's (pannenkoek2012) newest video describes a glitch in the Nintendo 64 game Super Mario 64, which allows an object to push Mario out of bounds, which isn't normally possible, by ...
user avatar
  • 165
-2 votes
1 answer
327 views

Monte Carlo Tree Search for TicTacToe doesn't block opponent's winning moves

I've made a program to play TicTacToe against a human using a Monte Carlo Tree Search (MCTS) with UCB1 for node selection. The program will play moves until it wins but it will not make any attempts ...
user avatar
  • 113
1 vote
1 answer
469 views

When implementing Monte Carlo Tree Search for TicTacToe, do I simulate won states?

I'm trying to debug my MCTS implementation for TicTacToe (it doesn't block obvious wins for the opponent). I was wondering what the algorithm should do if it expands to a node which is a game over ...
user avatar
  • 113
2 votes
0 answers
773 views

Programming a good puzzle game (Puyo Puyo) AI

I'm trying to build a strong AI for a game called Puyo Puyo, in Matlab (I know... but it's the only language I know well). Basically it's like Tetris but you get falling pairs of 2 puyos (blobs) of ...
user avatar
  • 29
2 votes
1 answer
1k views

Sudoku Solver BackTracking vs Simulated Annealing

Before you read any further, assume you know what sudoku game and how to go about solving it. So I have created a sudoku solver with brute-force: The algorithm goes as calculate(through an simple ...
user avatar
  • 121
1 vote
1 answer
313 views

Question about the uses of matrices in games and 3D graphics [closed]

So I know that matrices are used extensively in the field of games and 3D graphics, for example, you need to know how to do matrix multiplication if you want to understand how scaling an object works, ...
user avatar
0 votes
1 answer
2k views

Best way to design chess game [closed]

This is a theoretical question, and excuse me if it is not clear, I am new to this field. Thing is, I was asked to design a chess game in an interview (java/ android.) And my intuition was that P. ...
user avatar
  • 175
1 vote
0 answers
443 views

Weighted (Perlin?) Noise generation

Is there a way I can "Weight" a noise generation algorithm to a specific point i.e the center of the generated "image" or one of its corners, assuming the generated "image" is square? I have been ...
user avatar
2 votes
1 answer
691 views

Enemy AI for classic game Bubble Bobble [closed]

I am building a similar game to Bubble Bobble. This is the scenario: where E represents enemies, and P represents the player. If a user falls through the lower hole, it reappears through the superior ...
user avatar
1 vote
0 answers
41 views

modelling an ecosystem evolving on a landscape

I would like to understand a bit more the theory and the approaches available in modelling a population roaming across a landscape. Assume discrete time and space as simple as a discrete grid and a ...
user avatar
1 vote
1 answer
1k views

Browser game played in an iframe - security concerns

I'm not sure if this counts as an Information Security or Webmasters question rather than Programmers, however I'll see how we go. I've been prototyping a help website for a particular browser game, ...
user avatar
  • 63
13 votes
1 answer
2k views

Testing strategy for games

I've inherited a web-based educational game. Over the past year I've worked towards stabilizing the code and adding new features. Most of the logic is in the front-end, so back-end unit tests, while ...
user avatar
  • 243
3 votes
2 answers
271 views

Ranking players depending on decision making during a game

How would I go about a ranking system for players that play a game? Basically, looking at video games, players throughout the game make critical decisions that ultimately impact the end game result. ...
user avatar
  • 149
8 votes
2 answers
883 views

Test Driven Development for Complex Games

I'm coding a game in my spare time, but I am mostly still a beginner when it comes to programming. I'm sorry if this question is off topic or if it ends up not being helpful to anyone else, but ...
user avatar
  • 255
3 votes
2 answers
412 views

Strategy game, how do I calculate the parallel actions?

I am building a strategy game where multiple units(5 - 20) fighting each other. I have a game logic that calculate all the actions that been done on each turn, and send it to the game engine to ...
user avatar
6 votes
3 answers
870 views

Why is the game industry, specifically , so harsh on programmers? [closed]

On hackernews and /r/programming I've heard several reports of how the games industry is incredibly harsh on programmers. Someone on this site also linked this blog post in an answer I read recently. ...
user avatar
2 votes
4 answers
283 views

Theory about software communications mixing up with other software causing an Apocalypse?

I can remember a very Very long time ago (pre Y2K) , reading an article by some "expert" that theorized that software communicating over the internet, especially video games could get mixed up with ...
user avatar
2 votes
1 answer
310 views

Finding the best practice for a game simulating tool

I'm studying Java right now, and I'm thinking of this tool as my practice project. The game is "League of Legends" in case anyone knows it, I'm not actually simulating the game as in simulating game ...
user avatar