The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
118 views

AI for Shogi, dealing with high branching factor due to drop rule [closed]

I'm writing a Shogi program with a computer player in Java from scratch as my undergradute dissertation project. Due to the drop rule, when the computer player captures a few pieces, the branching ...
2
votes
1answer
263 views

Pathfinding and clusters

For an assignment, I am required to implement an A* algorithm in order to find the shortest path between two object using different heuristics null, this effectively becomes Dijkstra Euclidean ...
0
votes
2answers
51 views

Speed dependent arc question

I'm currenlty working on an assignment and would appreciate any sort of help on the following implementation The question follows We are tasked to implement some heuristics but one of them is ...
2
votes
1answer
196 views

Dual marching squares/cubes - divide or do not divide a node?

In the marching squares/cubes algorithm, how is it decided if a node in the quadtree/octree will be divided further (into 2^dimension nodes)? I read about this heuristic that uses a trilinear ...
3
votes
0answers
248 views

Pathfinding with portals? [closed]

I'm not making a game with portals in it (one way or bidirectional). These portals instantly teleport characters from one location to another. How would I implement pathfinding? Here's an animation ...
6
votes
3answers
2k views

In A star, how does the heuristic help determine your path?

Say you're using a 4 by 5 grid. The G cost for horizontal and vertical movement is 10, and the G cost for diagonal movement is 14. On this page: ...
7
votes
4answers
216 views

Measuring enemy “success” against player

I've been toying with an idea for a game prototype where the player must defend against waves of enemies, but between each wave the enemies "evolve" to better combat whatever tactics the player is ...
16
votes
2answers
3k views

Bezier curve arc length

How can I find the distance traveled by a Bezier curve? For example, the distance traveled by a Linear Bezier Curve is: distance = sqrt(pow(x[1] - x[0], 2) + pow(y[1] - y[0], 2)); But what about ...