Collection of Simple Application with AI for Game

Welcome to My Personal Blog

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”

View original post

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

Welcome to My Personal Blog

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>
http://”js/jquery-1.7.2.min.js”
<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”>
http://”script.js”
</head>

View original post 211 more words

Bitwise Shift Operators

Welcome to My Personal Blog

Write to Your Note Don’t learn it then forget it.

Bitwise Shift Operators

This operators are often forgotten, but by using this operator will save memory and is more secure, especially on   game programming and encryption techniques.

Bitwise Shift Right operator “>>”
64 >> 1, then 64 is converted into a binary number 1000000 then shifted 1 bit to the right to be 100000, so 64 >> 1 = 32. To facilitate recall x >> n then any shift to the right then x will be divided by 2 n
64 >> 1 = 32, because 64: 2 = 32
64 >> 2 = 16, because 64: 2: 2 = 16
64 >> 3 = 8, because 64: 2: 2: 2 = 8
63 >> 1 this would mean 63: 2 = 31, the result is an integer

Bitwise Shift Left operator “<<“
To the left is the opposite of…

View original post 267 more words

Simple Noise Reduction VB.Net

Welcome to My Personal Blog

“There are many ways to get rid of something to make it look better, but is there a way to make it 100% exact same as the original back again?”

Noise reduction is the process of removing noise.Images taken with both digital cameras and conventional film cameras will pick up noise from a variety of sources. Many further uses of these images require that the noise will be (partially) removed – for aesthetic purposes as in artistic work or marketing, or for practical purposes such as computer vision. ref: en.wikipedia.org/wiki/Noise_reduction#In_images.

downloadclick here

noiese

View original post 9 more words

SQL SERVER STORED PROCEDURE

Welcome to My Personal Blog

“Just want to share my knowledge during the two weeks of work in jakarta.”

“Assume everything is learning there would be no wrong or right,

that there is an attempt to progress together. “

🙂

WHY SHOULD WE USE STORED PROCEDURE?

– MORE SECURE FROM SQL INJECTION, EXCEPT FOR DYNAMIC QUERY

– MORE EFFICIENTLY FOR TRANSACTION

– REDUCE NETWORK TRAFFIC

– CALL PROCEDURE ONLY

1. Created a Sql Server Stored Procedure
CREATE PROCEDURE procedureName
@parameterName nvarchar(30)
AS
SELECT *
FROM dbo.tableName
WHERE name= @parameterName

To excecution a procedure like below

View original post 168 more words

What is mainframe? What is cobol?

Learn mainframe and COBOL was like exploring space and time

back to the past , as in timemachine movie(one of my

favorite movies) and Men In Black 3 (pretty good

movie,funny too) ,but it remains something

new for me and I like something new 🙂

 

My learning spirit appears again,

this blog post appears after so long my hibernation in deep river  -_-

What is a mainframe ?

After I read from several references can be summed up briefly mainframe is a multiuser computers that can be used to process bulk/batch transactions. The mainframe is products from IBM. This mainframe that I read, it using z / OS , the operating system that I never look it, but I ever hear it when I was studying history of Operating System :v

What is a COBOL ?

COBOL is a programming language used to make a program on the mainframe .

Why should COBOL ?

Because here is that I will learn is COBOL , not others #keep spirit with cobol, I like COBOL, I love COBOL :3 *cobol doctrine :v

” COBOL is a language that was developed special programming for business . It actually can be used for a wide range of programs and programming problems , but it is most popular for handling traditional business activities . COBOL excels in accounting systems and related activities such as inventory control , retail sales tracking , contact management , commissions , payroll – the list is almost endless . It is the most widespread commercial programming language in use today . It is English – like and easy to read . This makes it very popular with nonprogrammers . Financial officers can frequently read a section of a COBOL program and understand what it is doing with figures , without having to rely on programmers to interpret the program for them . There is no doubt that COBOL is the most successful programming language ever . With an estimated 80 million lines of COBOL code in use just in the United States , it remains a key language of choice for business applications. “

It is written in book that I get a book with a good cover and with title : ” COBOL in 21 days”,

tiger

Yeah I like that book cover, because same with my shio = > tiger :D.

000100 IDENTIFICATION DIVISION .

000 200 PROGRAM – ID . HELLO . Continue reading

Hello Welcome “20 do fa”

Hello Welcome “20 do fa” Happy New Year
Share With the World, Why Holding it all to Yourself
I’ve been six months worked at Jakarta and many experiences that already I got, from
strange incident until very strange incident..And its started here… 🙂
Whether it is God or man-made destiny is still difficult to know it as an ordinary human like me…
But I believe in my life that is not as fortunate as some of the people at my age, but I’m starting to believe God has make a wonderful way for me … whether intentionally You made me or you who make me … Whether its original or no I don’t know..
I just can undergo this life, because this year is my adventure year.
In essence  life there are only two choices, remain current with the beauty of your life or go chase your life that may be more beautiful 🙂
Life is a choice in this narrow world …
In life, all in good time, there’s a time to sow and a time to reap. Finally, you as the winner. Give yourself a pat on the back. You deserve it!
but sometimes fate prove it and I end up losing my dream
but I believe there are other dreams that I can achieve it, such as beatify my family a very valuable, do not need something beautiful again.

 

……JOGJA I’m Coming in …20..9 8 7.……..:(

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

Welcome to My Personal Blog

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

View original post 306 more words

DATABASE DESIGN TIPS

The things we need to know before making the database
1. APPROPRIATE TABLE

don’t too many or too few.

2. APPROPRIATE NAMING

consistent for naming

3. AVOID DATA REPETITION

4. AVOID DATA REDUDANCY

5. AVOID DATA NULL VALUES

6. USE CONSTRAINTS

7. USE TRIGGERS

8. USE STORED PROCEDURE *

why stored procedure ? What stored procedure?

Continue reading