摘要:In this paper we want to present an implementation method for eight-puzzle game. In the artificial intelligence literature, different algorithms are proposed for implement this game. These methods concern different heuristic functions. For implementation, generally, expert systems or different programming languages or environments (like C, Pascal, Java, Delphi etc.) are used, in which the user must exploit a tree data structure. In our work we use databases for to model a tree.