Collection of Simple Application with AI for Game

In this lectures I found friends incredible great.

And I still must learn more from them.

🙂

This is a collection of group assignment of lectures.

There are several implementation, such as the behavior of objects in a game,  A * Algorithm  and Djikstra Algorithm.

  1. Download Task 1
  2. Download Task 2
  3. Download Task 3
“hopefully all beings be happy”

Simple Garbage Cleaners Agen Simulation with Djikstra Algorithm in C#

Implementation Djikstra Algorithm In Simple Garbage Cleaners Simulation
“The disappointment better than the woes”, you may be a little disappointed with my writing, but it’s better than i’m not write nothing at all and most importantly all of that not torment you lol 😀
Garbage Cleaners  is an agent whose job is to clean up the garbage in his room. This agent implements Djikstra algorithm in the process of scanning or searching nearby garbage first.

You can download at  Cleaner Agent

The below, I will explain the steps the use of this simple program

1. You can select in combo box : “meja” (desk or obstacle)

1

2. Drag it to panel with hold left click or left click in panel area Continue reading

Build a Simple Grid Game Web Base with Artificial Intellegence (AI) in HTML 5 Javascript and Jquery Run in Everywhere – Part 3

Final Project HTML5 JavaScript: Implementation Hierarchical

Pathfinding A Star (HPA*) Algorithm on Grid Game &

Algorithm Simulation for comparing A Star

Algorithm and Hierarchical

Pathfinding A Star

Algorithm

This is the last task of course. Whether it is useful or not, good ending or not, but I’ve tried my best. This is me with myriad my lack.
I only try to learn, for what I live, why I live , why I am happy to learn this all, what is the purpose of my life actually,  anyone can explain it?

Download Project => FindYourLetters.zip

Picture of Game FindYourLetter

2

red color indicates the HPA* is applied to enemies for 5 seconds

Picture of Algorithm Simulation

Continue reading

Build a Simple Grid Game Web Base with Artificial Intellegence (AI) in HTML 5 Javascript and Jquery Run in Everywhere – Part 2

Shift the Map Display on Canvas HTML5 and Javascript using Translate Offset & mouse click-move

At this part we will begin make a simple grid game map with html5-JS-Jquery for shift the map display using mouse click and mouse move.Translate map used to large map that the screen can not display all .. .. ..

index.html

<!DOCTYPE html>
<html>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”minimum-scale=1.0, width=device-width, maximum-scale=1.0, user-scalable=no”  />
<title>ShiftMapDisplay</title>
<script type=”text/javascript” src=”js/jquery-1.7.2.min.js” charset=”utf-8″></script>
<link href=”css/jquery.mobile-1.1.0.min.css” rel=”stylesheet” type=”text/css”/>
<link href=”css/jquery.mobile.theme-1.1.0.css” rel=”stylesheet” type=”text/css”/>
<link rel=”stylesheet” href=”style.css” type=”text/css”>
<script src=”script.js” type=”text/javascript”></script>
</head> Continue reading