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
0
votes
1answer
268 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
2answers
94 views

How to find all possible destinations, within a certain walking distance of a unit?

I have a standard 2D grid that i use for pathfinding. I already use A* to find the path of my units when I want to move them around. What I need to implement now is a preview of all possible ...
0
votes
1answer
86 views

Let both clients know of complete game-state in turn-based game?

I'm writing a simple turn-based game for mobile, just to test the waters and I'm having doubts about the approach. Each player has 5 cards on hand. I want for both players to be able to replay ...
0
votes
2answers
73 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 ...
0
votes
3answers
2k 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 each ...
0
votes
1answer
211 views

Turn-based battle mechanics with balance of HP and damage [closed]

(Major rewrite to be more specific) Scenario I'm prototyping a turn-based battle system. The theme is survival in a despaired setting with conflicting interests: 2 players, attacker and defender ...
0
votes
1answer
2k views

Implementing Turn based Combat Using Node js

I am creating a browser game that allows players to fight monsters using Nodejs, Socket.io and ...
0
votes
1answer
636 views

Skill system in turn-based board-like RPG [closed]

I'm working on the implementation of a turn-based board RPG (like Descent: Journeys in the Dark) to improve my C++ skills and learn something about game-dev. I have already done with general stuff, ...
0
votes
1answer
144 views

Turn based game - how to deal with partial world state updates?

I'm implementing a simple "turn based" game where the player sets up a bunch of "actions" on a board and "objects" move on the board and are influences by those actions. The player is no longer ...
0
votes
1answer
136 views

Time per turn in a .NET turn-based game?

I am developing the server for a browser game, it uses an ASP.NET API for authentication, login and character creation and a websocket for the rest of the game (Microsoft.Web.WebSockets). While on ...
0
votes
1answer
497 views

To-hit formula for turn based isometric battle RPG

I am an amateur using Unity 5 to create the aforementioned type of game. I am trying to write a function to determine whether a close quarters combat(melee) attack lands or not but am extremely ...
0
votes
1answer
297 views

Send request for Turned Based Battle

I want to create a turn based battle system for Pokemon online rpg! I will some how implement the coding of the battle..but I want to know how can a user send request for a battle to other user? If ...
0
votes
1answer
196 views

Is this technique for stat tracking without a database workable?

If I wanted to create a chess game, for iOS, that tracked both player moves (for retracing the progression of a game and for player stats), what would be the simplest route to take? To clarify, I ...
0
votes
1answer
560 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 ...
0
votes
1answer
2k 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
1answer
362 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 ...
0
votes
0answers
20 views

Minimax Algorithm for turn-based game

how should I implement the Minimax Algorithm to a XCOM like turn-based game? I mean I should use score to each action like, move to cover, shoot, fall back etc. Or even is it possible to do that kind ...
0
votes
0answers
21 views

How do I change the turn from a user to the next?

I was asked by a friend to develop a small web game which should support 10 players. Very basic game-play: There is a piñata which has x-"healthpoints". Each player can hit the piñata when ...
0
votes
1answer
77 views

How do I make my turn based battle system scalable?

I’m currently working on a turn based battle system for my game. The game is in unity coded with c#. The turns are based off of an initiative system determined by each characters speed. Right now I ...
0
votes
0answers
33 views

How do multiplayer turn based games handle computation

I am building a turn based multiplayer simulation game that at the end of each turn takes all of the users inputs/actions then compiles all the data and interactions returning the result of the ...
0
votes
1answer
62 views

Minimax Algorithm Scoring Mechanism

I'm basically trying to understand the chronology/sequence of the algorithm and where should I call the scoring mechanism function that calculates the score of each move and returns an int. For ...
0
votes
1answer
71 views

Turn based game in HTML/JS/CSS - new joiner messes with state of game while animations are still running for other players

I developed a playing cards web app using HTML/JS/CSS. Communication with the server is performed using WebSocket. The server is developed in Java Spring. The game proposes to join one of the many ...
0
votes
1answer
266 views

Engine for a Football Manager Type game (data driven, menu clicking) [closed]

A friend and I had started developing a football manager two years ago, but ultimately squashed the whole thing because we found ourselves in a mess with developing UI and saving/loading. The basic ...
0
votes
1answer
128 views

How to create a turn-based system with an unknown number of enemies?

This is my first time using Unity (and my third time creating a game in general), so I hope I can provide the needed information to solve this problem. I want to create a turn-based system for my 2D ...
0
votes
1answer
497 views

Networking Board Game Design Pattern

I am currently working on a board game in Java with libgdx. It is supposed to be a multiplayer game, that you can play across multiple computers and for the sake of simplicity, I use kryonet. Even ...
0
votes
1answer
71 views

How to solve this card game turn requestes clashing issue

So I am developing a poker card game using JS +node.js + socket.io. It is turn-based game. There will be a host and 4 other players.The flow is the players need to make a yes/no choice, then the host ...
0
votes
2answers
997 views

How to handle global Data within a state machine setup? (C#)

I am currently building a turn-based framework (Unity,C#) I was tired of my former tight-coupled systems and opted for a state machine this time, basically all components subscribe to the state-Enter ...
0
votes
1answer
1k views

Android: Synchronizing timers across multiple devices

Im writing a turn-based multiplayer game that implements a chess timer. When the current players turn starts, all devices start timing for the current player, however, as his turn proceeds, the timers ...
0
votes
1answer
695 views

Network Communication For Multi-Player Turn-Based Game

I'm attempting to develop a multi-platform turn-based game that [I suspect] follows the general client-server pattern. For this question, let's assume I only care about communications inside of a "...
0
votes
0answers
158 views

Deterministic steering behaviors

I'm working on a turn based strategy game (like Jagged Alliance), where the player moves his units individually during his turn, while the enemies (zombies) all move and react simultaneously. I use ...
0
votes
1answer
718 views

MVC How To Handle Animations?

I am working on a turn based game that utilizes the model, view, controller design pattern to separate logic from input from rendering. I am still a little new to the pattern, but from my ...
0
votes
1answer
1k views

Android Studio libgdx multiplayer

Does anyone know if it's possible to setup a multiplayer game using libgdx in Android Studio? I've been trying to convert my game to multiplayer using all kinds of tutorials on libgdx & ...
-1
votes
1answer
1k 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 monsters....
-1
votes
1answer
690 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
votes
2answers
1k 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
votes
2answers
2k 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 ...

1 2
3