Questions tagged [turn-based]

A unit or group of units performs an action while everything else is only capable of reacting to that performed action(s). Then the next unit or group of units can act.

Filter by
Sorted by
Tagged with
54
votes
8answers
8k views

What is the design rationale behind melee retaliations in turn-based games?

I've seen quite a lot of turn-based games in which melee attacks on another unit cause the attacked units to also damage the attacking unit, while ranged attacks do not suffer from this "retaliation" ...
40
votes
18answers
15k views

Turn-based strategy games where action happens in real-time? [closed]

Okay, this idea has come up for the 3rd time in conversation now, and it's been bugging me for years. The idea is a game where all players make decisions/issue orders to units while the game is in a ...
22
votes
4answers
2k views

Attributes for calculating a hit in a turn based game or Roguelikes

I'm trying to figure out a good formula for determining a hit when the player attacks an enemy in a Roguelike. I'd like to come up with something simplistic but, still true to the way it's done in D&...
19
votes
3answers
6k views

Design of a turn-based game where actions have side-effects

I am writing a computer version of the game Dominion. It is a turn-based card game where action cards, treasure cards, and victory point cards are accumulated into a player's personal deck. I have the ...
18
votes
2answers
20k views

How to implement turn-based game engine?

Let's imagine game like Heroes of Might and Magic, or Master of Orion, or your turn-based game of choice. What is the game logic behind making next turn? Are there any materials or books to read about ...
15
votes
6answers
963 views

Moving players into same square simultaneously?

Consider a 2 x 2 grid of squares. A player can move onto a square if: no other player wants to move into the square next turn no other player has waited and is still occupying the square ...
14
votes
3answers
6k views

Is there a pattern for writing a turn-based server communicating with n clients over sockets?

I'm working on a generic game server that manages games for an arbitrary number of TCP socket-networked clients playing a game. I have a 'design' hacked together with duct-tape that is working, but ...
14
votes
1answer
648 views

Is there a turn-based game service (like GKTurnBasedMatch on iOS) for desktops?

Game Center's GKTurnBasedMatch seems to provide a pretty robust service for handling turn-based games, and OpenFeint appears to have something similar. The problem is, I'd like something like this for ...
13
votes
7answers
2k views

Is chess-like AI really inapplicable in turn-based strategy games?

Obviously, trying to apply the min-max algorithm on the complete tree of moves works only for small games (I apologize to all chess enthusiasts, by "small" I do not mean "simplistic"). For typical ...
9
votes
3answers
5k views

Game server for an android/iOS turn-based board-game

I am currently programming an iPhone game and I would like to create an online multiplayer mode. In the future, this app will be port to Android devices, so I was wondering how to create the game-...
9
votes
4answers
1k views

Using idle time in turn-based (RPG) games for updating

If you take any turn based RPG game there will be large periods of time when nothing is happening because the game is looping over 'wait_for_player_input'. Naturally it seems sensible to use this time ...
9
votes
3answers
4k views

How to progress an entity-component gamestate in a turn-based game?

So far the entity component systems I've used have worked mostly like Java's artemis: All data in components Stateless independent systems (at least to the degree that they don't require input on ...
9
votes
1answer
1k views

Separation of world state and animation in a turn based game

How do you handle the separation of animation from the world state within a turn based game? I'm working on a 2D grid based game currently. The below code is simplified to better explain. When an ...
7
votes
4answers
2k views

Which network engine/library/system to use in a .NET turn-based game? [closed]

I'm developing an abstract strategy turn-based game in C#. Being so, high network load is not expected. The players don't even have to be connected all the time. The host could wait for the current ...
7
votes
5answers
2k views

Turn-Based RPG Battle Instance Layout For Larger Groups

What a title, eh? I'm currently designing a videogame; a turn-based RPG like Final Fantasy (because everybody knows Final Fantasy). It's a 2D sprite game. These are my ideas for combat: The player ...
7
votes
1answer
2k views

In JavaScript, should I write a game loop for a turn-based game?

I am using javascript and HTML5 canvas for turn-based games (e.g., checkers, mastermind, minesweeper). Should I write a fixed-timestep game loop? What are the alternatives?
6
votes
2answers
7k views

How to design the AI for a board game like Risk?

I am about to develop a web game that is similar to board games like Risk, and iOS games like Lux and Strategery. I am curious to know what the concept behind the AI for such games should be like. I ...
6
votes
4answers
5k views

techniques for an AI for a highly cramped turn-based tactics game

I'm trying to write an AI for a tactics game in the vein of Final Fantasy Tactics or Vandal Hearts. I can't change the game rules in any way, only upgrade the AI. I have experience programming AI for ...
6
votes
2answers
508 views

How to do simultaneous action without it being real time?

This is really a pacing question, but there's no tag for that: The general concept is that the players are working in a team and need to be able to react to eachother's movement and observations as ...
5
votes
5answers
850 views

Is my skill tree possible, balanced, or even a good idea? [closed]

Like most people, I have an idea for a game. I have a particular concept I want to create with a particular set of mechanics I want to implement. What I need help with is the underlaying player ...
5
votes
3answers
2k views

Optimal data size for a 3G client-server game?

I'm currently working on an iOS turn-based client-server game and I am concerned over later performance issues. How much data per message is too big? I am planning to use JSON to transfer data (and, ...
5
votes
2answers
3k views

Strategies for monster targeting AI in a turn-based combat system

I am making a Final Fantasy-style battle system. I have a random generator that select the monsters move when it is their turn; different moves have different chances to be performed. I also have ...
5
votes
2answers
1k views

AI for a mixed Turn Based + Real Time battle system - Something “Gambit like” the right approach?

This is maybe a question that's been asked 100 times 1,000 different ways. I apologize for that :) I'm in the process of building the AI for a game I'm working on. The game is a turn based one, in the ...
5
votes
3answers
5k views

Which algorithm used in Advance Wars type turn based games

Has anyone tried to develop, or know of an algorithm such as used in a typical turn based game like Advance Wars, where the number of objects and the number of moves per object may be too large to ...
5
votes
1answer
597 views

Need some general direction for turn-based planning AI

I'm planning to make a turn-based fleet battle game. While I think I can figure out most of the things I need, I have no idea about the AI handling this sort of game. I need some general direction ...
5
votes
1answer
344 views

Reliability and suitability of 3G connection for client-server turn-based non-asynchronous game

I am working on an iOS turn-based client-server game and I am concerned with the reliability of the connection and the length of time it takes to establish the connection. The game is turn-based but ...
5
votes
1answer
807 views

iOS Game Center - Quit turn-based games for previous version of app

I have a game on the iOS App Store that uses Game Center for turn-based multiplayer (GKTurnBasedMatch). I recently updated the app with a new game mode and I had to change the network protocol for ...
5
votes
1answer
428 views

How do I model / diagram turn-based combat?

I'm developing a turn-based combat system for an RPG, and I'd like to know if there is any kind of best practice around diagrammatically modelling something like this. The ideal modelling paradigm ...
4
votes
2answers
411 views

In tactical combat games, why does shooting end your turn?

I was wondering about this particular game mechanic in tactical combat games, like XCOM2, where you have two actions, which may be: move+move reload+move move+reload move+attack ...but not attack+...
4
votes
4answers
1k views

How to design a turn-based game which is easy for humans but difficult for AI?

Until recently, Go used to be of the last bastions of turn-based no information-hiding games where world-class human players could not be defeated by computers. But now this bastion has fallen, as the ...
4
votes
4answers
3k views

Turn based game - HTTP or WebSocket? [closed]

My game will be a turn based game which will need a server gateway in order to send requests. What would be better for the server: using REST HTTP GET for making the requests? Or using WebSocket which ...
4
votes
2answers
392 views

How do I implement Pokemon-style moves?

I'm developing a Pokémon/classic Final Fantasy inspired game, in the sense that game play consists in many creatures, possessing many moves with different effects (attacking, healing, buffing, ...
4
votes
3answers
3k views

How to simulate or actually make your code wait for user input in response to events in turn-based games

I'm controlling the main loop with Game States like in pseudo code below: ...
4
votes
1answer
921 views

Online card games: game loop or event based?

The only games I've made have been the game loop variety. I'm just starting to think about building an online poker game where people could meet up in a lobby, etc. Cards seem event based... is the ...
4
votes
2answers
1k views

Networking/Packet Design

When using a Client-Server model, it's necessary for those two parts to communicate data back and forth. There is one specific area that I've been thinking about and unsure about. That being putting ...
4
votes
1answer
2k views

Game engine for turn based wargame [closed]

I would like to ask for game engine recommendations for turn based wargame development. I would like my engine to support; hex maps agents on hex rule based ai for the agents terrain on hex ...
4
votes
4answers
2k views

In PHP, how do I implement multiplayer “rooms” for a turn-based game?

I'm working on a multiplayer checkers game. I want to let players choose another connected player and invite him to play. I have a working game engine and rendering, but I'm stuck on the multiplayer ...
3
votes
2answers
6k views

Turn-based Strategy Loop

I'm working on a strategy game. It's turn-based and card-based (think Dominion-style), done in a client, with eventual AI in the works. I've already implemented almost all of the game logic (methods ...
3
votes
3answers
277 views

Are delayed abilities bad in turn-based strategy games? [closed]

In my PvP turn-based strategy, one of the balancing mechanisms for separating stronger from weaker abilities is their "delay", which is the number of turns it will take to actually execute that ...
3
votes
2answers
2k views

How should I store game data in a game server?

I'm new to game server development. I'm facing this issue: I want to develop a card game server, but I'm not sure about the solution to hold the game data while playing. Example: In a poker game, ...
3
votes
2answers
2k views

What shall I choose between CoronaSDK or AirPlay?

1st Question is I want to write a board game for iOS and Android so I'm coming up with CoronaSDK and AirPlay. Since I have a mac, development platform is not an issue but the problem is which one ...
3
votes
1answer
977 views

How do i make turn based combat with 10+ players work?

I am currently developing a game with a turn based combat as focus. The games battles will need to be able to handle 1 to 20 players (Multiplayer). Each unit (Player and AI) each has an initiative (...
3
votes
2answers
10k views

How to build a turn-based multiplayer “real time” server

I want to build a TCG for mobile devices that is multiplayer over the web (not local wifi or bluetooth). As a player plays cards I want the second player to see what is being played in "real time" (...
3
votes
1answer
3k views

Google Cloud Messaging (GCM) for turn-based mobile multiplayer server?

I'm designing a multiplayer turn-based game for Android (over 3g). I'm thinking the clients will send data to a central server over a socket or http, and receive data via GCM push messaging. I'd like ...
3
votes
2answers
305 views

How can I imbue an ability system with information about how abilities interact and can be targetted?

I am making a turn based game where player chooses a team of heroes with specific abilities for each of them. (ex. stun one enemy, deal 20 damage to all enemies, heal 10 HP to one ally,...) The design ...
3
votes
1answer
119 views

Preferred option for indicating player's movement choices on a hexagonal grid on touch [closed]

I'm building a prototype turn-based game and I'm considering the best approach for user interaction with the game board. It's a hexagonal grid, where the user can select units and move to other cells ...
3
votes
2answers
205 views

How do I allow a player to manager several games at once with different players using game center?

I wish to do a turn based multiplayer game like Words with friends on the iphone. I would like to know the approach for the implementation to allow the user to continue games that are currently still ...
3
votes
2answers
364 views

Turn-based multiplayer animate moves from last turn

I'm trying to make a 2-player turn-based strategy game, using the Google Play Games APIs According to the documentation, As a match progresses, the current player can modify and store the game ...
3
votes
2answers
2k views

Synchronize turn based browser game

I'm writing a browser game in php and Sql. I'm also using Javascript - Ajax and Mysql. I'm stack on the battle system because I want to Synchronize the turns of the players in the battle. What I ...
3
votes
0answers
789 views

Turn based multiplayer, Google services or Parse or.. [closed]

I have a turn based game on Google play already (paid with around 2000 users and free with around 50k).i am thinking of adding multiplier option to it. I am unable to progress because I don't know ...