Tab Content
About Me
Blog
About zoranh

Basic Information


Age
36
About zoranh
Location:
Belgrade, Serbia
Occupation:
Senior Analyst Programmer

Signature


Statistics


Total Posts
Total Posts
207
Posts Per Day
0.35
Last Post
why is that different? [solved] 11-28-2010 04:10 PM
General Information
Last Activity
09-19-2011 04:39 AM
Join Date
07-08-2010
Referrals
0
View zoranh's Blog

Recent Entries

Applying Search Algorithms to Turn-Based Games

by zoranh on 10-25-2010 at 04:53 PM
In many games programming goal is to create smart engine which can beat a human. If human can beat the game without much thinking, then game is not playable and people will not like it. This article explains one method of dealing with turn-based discrete games, like chess or dominoes, where computer engine has to perform a search through a large state space.

Imagine a turn-based game with two or more players make a move each, and game ends when certain conditions are met. Examples are

Read More

Categories
Programming

How to Solve n-Puzzle Programmatically

by zoranh on 07-16-2010 at 02:57 PM
n-Puzzle is a matrix of tiles with one tile missing, as given in the following picture:

Most notorious n-puzzles are 8-puzzle (3x3 tiles) and 15-puzzle (4x4 tiles).

Solving the n-puzzle is a typical informed search problem. It is search problem because program solving the puzzle must search through valid states of the puzzle in order to find a sequence of moves that transform a puzzle from any valid starting position into the solved state. It

Read More

Updated 10-27-2010 at 04:21 PM by zoranh (Added link to continued article.)

Categories
Programming