I'm developing my first game containing player controlled cars, and therefore ofcourse I need proper car physics. I've got basic car accelleration and turning done, however, no skidding is cur...
I'm hoping my question ends up being very simple to answer, yet it troubles me a lot.
I have two 2D direction vectors A and B.
All I want to do is calculate the a new direction for vec...
Does anybody has a A star Algorythm implentation example for java ?
Hi!
I'm currently working on a 3D car racing game in C adn DirectX but having trouble with the collision detection. I am using OOBs to detect collisions between the cars but cannot determine ...
I urgently need great websites which can guide me to learn A Star algorithm in deep. I also need to learn :
- how to avoid enemy along the way and
- how to implement predetermined places to ...
Anyone know any resources for implementing the A* search algorithm in Java? I'm also looking for resources that are good at explaining the algorithm in detail.
Thanks
Hey all
I'm looking for some examples of AI learning using C#. Basically any tutorials that can give the likes of an object hitting another object and eventually learning not to take that...
Dear all ,
I am having trouble understanding why 8 puzzle with manhattan distance A* is optimal?
1. if A* is optimal , why we sitll used closed list in A* ?
because in my understandin...
On recommendation form a fellow coder, I'm reposting this question here.
I can never seem to get backpropagation right, and every time I ask for help, noone seems to be able to answer or th...
I've been trying to make a java program that will always beat me in TicTacToe... I've studied minimax and looked at numerous websites and I've written an implementation... but if I do certain ...
I need some example source code to figure out how to make a intelligent computer move using backtracking. I want to make a tic tac toe problem only use a larger (5x5) grid so its not always g...
Hey,
I am developing a 2d game with pixel-perfect collision detection. The problem is that if something is moving very fast (a bullet), it may never touch the other object (ie a charact...
I heard that A-Star can be used to solve 15 Puzzle. Can anyone show me how to do this in details!?
I am new to actionscript, and am trying to get a collision between two cars, I have the movement of the cars working, and am trying to detect if they collide, I would then like to have the ca...
Hello experts,
I know that A* and Dijkstra are both algorithms for find paths on maps/graphs. I examine their processes and find them quite similar.
I read some articles that mention tha...
Hello,
I'm tring to make a realistic 2d game engine. Right now, it's just 4 squars that fly around the screen and bounce off the borders. I've finished the collision detection function, and...
Hello,
When searching for a solution for a 4x4 tic tac toe for a certain depth, how can I determine the utility if I haven't reached the last depth?
Can I write my own evaluation functi...
CAn anyone tell me how to search a 3X3,4X4,5X5 and a 6X6 Tic tac toe state space using best-first or breadth first or depth first search or even minimax, and the computer is playing against it...
Hello,
This is a math / geometry question really.
I am trying to find out if a given coordinate (x0,y0) is on the left or right of a line formed by two other points (x1,y1) and (x2, y2).
...
I am looking for code in java that implement A* algorithm for the 8-puzzle game by given initial state :
1 3 2
4 5 6
8 7
and Goal state
1 2 3
8 4
7 6 5
I want to print o...
I am a beginner using SWI-Prolog to write an animal expert system that can learn
new animals as you use the program. I have downloaded many other copies of
Prolog including Prolog2 which I t...
Hi!
I'm writing a game(c#) based on the old one called "Jezzball". My problem is the ball physics.
I have a class for the balls
class Ball
{
Point pos;
Vector speed;
int diamet...
I'm trying to write a card game in c++. The game is pitch (hi-lo-jack).
I'd like some sort of kick start to the ai portion of the program. Like how to represent the cards and how to tell the...
Imagine we have a space ship, floating free in outer space.
To begin with, to make things simple, there is no friction, and no gravity, the ship is 2 dimensional, and shaped as a triangle wit...
I am trying to work out a vector movement system that each ship acts on its own coordinate system and then need to convert it to the absolute coordinate system for display.
This will be a t...