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.

learn more… | top users | synonyms

2
votes
2answers
118 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 ...
1
vote
2answers
83 views

Client-side dice rolls in turn-based game

I'd like to create a turn-based multiplayer game on Android. I'm thinking of using Google Play Game Services and get rid of any other webservice to create and host games. The problem is the game ...
1
vote
1answer
114 views

How to handle animations for a turn based deterministic game?

I have a turn based combat system where all monsters act one turn, then all players, etc. The combat mechanics are completely deterministic - I can pre-calculate the outcome of a turn. I'm interested ...
1
vote
1answer
176 views

Show the GUI button when mouse hover to the object

i already have this player on my screen. And i want, whenever the mouse hover at the object, the GUI button show itself (like tooltip). I tried below code, but the button is not showed up when i hover ...
0
votes
1answer
92 views

Animation play in turn based rpg

I am writing a turn based rpg game, the fighting process is sent by server which can not change by player. The data of fighting process is an array of round info. Each round info contain what happens ...
0
votes
0answers
298 views

Simple turn based game engine: Is this a valid approach?

For practicing multi platform development I implemented a simple board game that is completely abstract. That means it contains all the logic and uses interfaces for the unknown or platform specific ...
0
votes
0answers
82 views

Tracking Players' Stats in iOS Game without a Database

TLDR: Official question at the bottom. My posts are always notoriously long, so here's me, trying to keep it brief. All of this is for an iOS game, using Xcode IDE, if it should matter to anyone: ...
-1
votes
1answer
210 views

How do other 2d tile-based web games record their overworld data?

I'm developing a 2d (top down) tile-based strategy game that is web based. It uses PHP and a MYSQL database along with jquery. It was originally a mostly text-based game. I have since developed what I ...
1
vote
0answers
316 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 ...
2
votes
1answer
176 views

Handle game flow in turn-based game on server or client side?

Im building a turn-based game using websockets and nodejs. At the end of each turn I want to show some scores before starting the next turn. Should that be controlled by the server using a timer? Or ...
0
votes
2answers
54 views

Problem with modifying dice in another players turn

I have the following problem: I want to create a multiplayer game where each player has a turn where he has to roll a lot of dice again and again. But the other players are capable of modifying each ...
-1
votes
2answers
296 views

how to do turn based board game movement on a 2d map

I don't know if what I programmed worth anything, I've never programmed something like that, I just need to handle a player movement on a map, I thought a tile map will work, but I don't know anymore. ...
1
vote
1answer
297 views

AI of Turn Based game using Entity System approach

I just recently learned about Entity Systems and want to try it out on a real example (I was developing a game recently and want to try to port it over Entity Systems). But I got problem right away. ...
2
votes
2answers
222 views

Adobe Air turn based multiplayer Game, sockets vs http bandwidth

I am developing an Adobe Air multiplayer game for iPad. It is turn based and not realtime. It is like checkers game. I want to use a client server model. I have found 2 options to connect to server so ...
4
votes
2answers
307 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 ...
-1
votes
2answers
175 views

Start timer in two clients the same time

I want to create a client/server turned-based game where each player will have 5 seconds in order to play. If extends this time will be other player's turn to play. In order to do this, I have created ...
6
votes
1answer
409 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 ...
-2
votes
1answer
350 views

MVC pattern for turn-based RPG [closed]

I'd like to make a 2D game in Java using the Model-View-Controller (MVC) pattern, but I have some issues concerning the battles. There are two groups of characters in each battle: heroes and ...
2
votes
1answer
172 views

Finding moves with multiple jumps in checkers

I'm currently working on a minimax implementation for a game of checkers in C#. The minimax itself works fine if you ignore a few bugs I've yet to fix, but I'm having some problems finding a way I can ...
5
votes
1answer
636 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 ...
1
vote
2answers
419 views

Powerup Best practices [duplicate]

In a turn based game each player has a set of properties, e.g attack, defence, speed and these can all be used to work out who should go first and how much damage should be dealt. That all works fine, ...
4
votes
1answer
358 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 ...
2
votes
1answer
286 views

How to handle slopes/bridges in a 2d grid turn based strategy game [duplicate]

I was wondering about the following: In a 2D turn-based strategy game (using some grid(i.e. tiles, isometric hexagons) as movement), what techniques do they use to determine where a character moves ...
13
votes
2answers
1k 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 ...
1
vote
1answer
368 views

Do I need to create my own or use a commercial server for the features and matchmaking options I want my game to support? [closed]

So I'm developing an indie turn-based game for iOS and, in coding up a Game Center matchmaking class, I'm starting to question whether Game Center is even the best choice for what I want this game to ...
1
vote
2answers
172 views

How Can I generate a shield block from a Turn based medieval game fight?

Imagine the char below, a Spartan that in his turn attacks and in the opponent turn tris to block. What would be the logic behind the block process? I just don't want to rely generating random numbers ...
2
votes
1answer
2k 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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
818 views

Turn based battle and formula

I'm building a game called DVP(Digimon Virtual Pet), and in this game other than taking care of your digimon, You can also battle and breed them. I'm working on the battle system (making it first ...
3
votes
4answers
888 views

Turn based game - HTTP or WebSocket?

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 ...
2
votes
2answers
2k 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" ...
0
votes
1answer
278 views

Negamax for turn based game

I am working on a fast paced turn based game, each turn the player can move left, right or stay put and choose whether or not to fire. Each turn the shots move one block in the direction they are ...
5
votes
1answer
624 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 ...
4
votes
2answers
252 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 ...
0
votes
1answer
800 views

Turn Based Event Algorithm

I'm currently working on a small roguelike in XNA, which sees the player in a randomly generated series of dungeons fending off creeps, as you might expect. As with most roguelikes, the player makes a ...
0
votes
3answers
705 views

How Would I create alternate players (Turn base Event)

The picture above shows 2 players. Each containing 3 characters. I want to know how to make a Turn based event starting with player 1 alternating turns with player 2. And in every alternation ...
1
vote
2answers
1k views

how should I network my turn based game?

I'm writing a very basic turn based strategy game which allows a player to select units and attack enemy units on their turn. The game is written in Java using the slick2d library and I plan to use ...
1
vote
2answers
758 views

Grid pathfinding with a lot of entities

I'd like to explain this problem with a screenshot from a released game, DROD: Gunthro's Epic Blunder, by Caravel Games. The game is turn-based and tile-based. I'm trying to create something very ...
0
votes
1answer
204 views

Implementing a Turn-Based Game with Windows API Window Messages

I'm trying to make a 2-player Connect 4 game, but I'm having trouble wrapping my head around some of the concepts related to incorporating event handlers while progressing with the game. On the one ...
0
votes
1answer
235 views

How to test a turn-based ios Game Center game with 2 devices?

This might well be a very dumb question, but here goes anyway, I'm planning my turn-based ios game center game, obviously I know I'll need 2 iDevices to test it on, but how would I test the online ...
2
votes
1answer
478 views

Simultaneous AI in turn based games

I want to hack together a roguelike. Now I thought about entity and world representation and got to a quite big problem. If you want all the AI to act simultaneously you would normally(in cellular ...
8
votes
1answer
440 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 ...
9
votes
3answers
1k 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 ...
5
votes
1answer
285 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 ...
4
votes
3answers
780 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, ...
13
votes
1answer
534 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
6answers
677 views

Moving players 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 ...
3
votes
2answers
930 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 ...
4
votes
3answers
2k 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
2answers
942 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 ...