Questions tagged [game-development]
Development is undertaken by a game developer, which may range from a single person to a large business. Mainstream games are normally funded by a publisher and take several years to develop. Indie games can take less time and can be produced cheaply by individuals and small developers. The indie game industry has seen a rise in recent years with the growth of new online distribution systems and the mobile game market.
247 questions
1 vote
2 answers
146 views
Should I introduce a controller layer to separate networking from game/player logic in a C server project?
I’m writing a multiplayer server in C using sockets and pthreads. The project is separated by responsibility: server.c/.h → networking (socket, bind, listen, accept, thread creation) player.c/.h → ...
3 votes
3 answers
353 views
How do you abstract a platform library like SDL from the graphics api?
I'm creating a basic 3D game in C++ with SDL2 and OpenGL3, and one of my learning goals for this project is to design my code around the ability to swap out SDL or OpenGL. However, the problem I'm ...
3 votes
1 answer
178 views
Most simple way to design the map and collision of a PacMan WebApp game? (Vue.js) [closed]
I have a group project for my university in which we have to program a PacMan WebApp game in Vue.js. I'm currently working on the map design and the collision. Since I'm a beginner I am looking for a ...
6 votes
2 answers
443 views
How can I keep data defragmented and sorted if it's large and often changes randomly?
This problem is very relevant to games and real-time simulations but it may have broader applications. It seems inherently difficult to solve. The problem: Imagine that you have a large buffer of data,...
0 votes
1 answer
109 views
Multi-user time based simulation - deploying new version without downtime
I am making a multiplayer strategy simulation game. The game runs in turns of fixed duration, e.g. 1 minute. For every user, there is a set of state variables that can change every turn, e.g. amount ...
0 votes
1 answer
68 views
Best way to approach connection between game server to client connection with Django web server as middleman
I have a web game design question. I am trying to build a multiplayer web game with non-intensive graphics (ex tic-tac-toe, chess). I am trying to figure out how to take already authenticated users in ...
1 vote
2 answers
242 views
Should non-browser applications connect to a URL?
I have written a game that users will download. When the game is started, I want it to automatically connect to the matchmaking server. Does that mean that, somewhere in the source code for the game, ...
2 votes
2 answers
477 views
Game Systems Interaction Design
Intro I'm writing an FPS game in c++. There is a timed game mode, players run around a map shoot from a variety of weapons which are either hitscan or projectile based, when a shot connects, based on ...
0 votes
0 answers
136 views
How can I better design systems and components in ECS?
I'm working on a game from scratch in C++ which is based on an Entity Component System and I've ran into a bit of a problem with the way I've been designing my systems and components. I find myself ...
11 votes
4 answers
8k views
Is there an algorithm for matchmaking?
I am interested to know if there is an existing algorithm to start a multiplayer game, for example, poker. What steps do we need to take when the player enters the "matchmaking phase"? I ...
1 vote
2 answers
177 views
Culling edges from a triangulation while maintaining a connected graph?
I'm working on a small project and I'm randomly generating "world maps", with nodes you can fast travel to along given routes. The basics of this aren't complicated; throw random points on a ...
2 votes
4 answers
756 views
Multiplayer FPS Architecture
I'm creating a multiplayer game and have been having some trouble creating a good architecture for the server side. So far on the server we store a list of player which are the actively connected ...
1 vote
3 answers
239 views
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 ...
0 votes
1 answer
73 views
Implementing a text adventure using a deque filled in by procedures [closed]
Here, I suggested the following approach to implementation of a simple text adventure game (in Python). I think that this principle could be used to develop an adventure, similar to The Colossal Cave ...
0 votes
3 answers
213 views
Writing a growing simulation that scales
Or ways to get better run time than a nested loop? How would you design this? I hope this is the place to ask semi-vague software engineering questions. My simple simulation is like this: There is a ...