Questions tagged [games]
27 questions
13
votes
1 answer
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 helpful, cover a small percent of the code.
The…

jeffkolez
- 243
- 1
- 7
8
votes
2 answers
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 hopefully it will be.
I've spent a lot of time…

bazola
- 255
- 1
- 5
6
votes
3 answers
Why is the game industry, specifically , so harsh on programmers?
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. According to various reports, programmers in…

Nolen Royalty
- 173
- 6
4
votes
2 answers
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 animate.
Those are the possible actions:
perform…

Ilya Gazman
- 285
- 5
- 14
3
votes
2 answers
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.
Is there a way or how would I go about a way to…

tabchas
- 149
- 5
2
votes
2 answers
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,
Type type;
}
Type {
SNAKE,
FOOD,
…

stkUser
- 81
- 5
2
votes
3 answers
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 something hard-coded in the game's programming.…

The Game Master
- 41
- 3
2
votes
0 answers
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 different (or same) color, among 4 possible colors.…

BrouH
- 29
- 2
2
votes
1 answer
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 rule checking) all possible values of each cell that…

j4rey
- 121
- 5
2
votes
1 answer
Enemy AI for classic game Bubble Bobble
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 one.
Assume that players can fall and…

Enrique Moreno Tent
- 121
- 4
2
votes
4 answers
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 Military communications meaning that a user could…

tomaytotomato
- 175
- 1
- 7
2
votes
1 answer
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 play, I'm just trying to create a tool that can…

Tougheart
- 23
- 3
1
vote
3 answers
How can I mix this grid to guarantee it being solvable in X minimum steps?
Note: This question is not about this particular instance of this grid with these exact words, but about any combination of words.
I am programming a puzzle game where you have to arrange a grid of words correctly. The image below shows a final…

Florian Walther
- 119
- 3
1
vote
1 answer
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 utilizing a stale/dangling pointer in Mario's…

0xFFF1
- 165
- 5
1
vote
1 answer
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 state. Should it continue to "simulate" that node…

Amja
- 113
- 4