International Journal of Artificial Intelligence and Robotics (IJAIR)
Vol. 3 No. 2 (2021): IJAIR : November

Optimization of Breadth-First Search Algorithm for Path Solutions in Mazyin Games

Indriyono, Bonifacius Vicky (Unknown)
Widyatmoko, Widyatmoko (Unknown)



Article Info

Publish Date
28 Nov 2021

Abstract

A game containing elements of artificial intelligence, of course, requires an algorithm in its application. One example of a game that includes elements of artificial intelligence is the Labyrinth game. Maze is a simple educational game. This game is known as finding a way out of the maze to arrive at a predetermined goal. The labyrinth encounters numerous obstacles along the way, such as dead ends and parapets, to reach the target location. In this game, players are required to think logically about how to find the right maze path. The obstacle faced in this game is that sometimes players have difficulty finding a way out, especially if the game level has reached a high level in the process of finding a way out. To solve this problem, a graph tracing technique is needed. The Breadth-First Search (BFS) strategy can be used in conjunction with various graph search algorithms. An example of a broad search method is the Breadth-First Search Algorithm, which works by visiting nodes at level n first before moving on to nodes at level n+1. The advantage of the Breadth-First Search algorithm is that it can find a solution as the shortest path and find the minimum solution if there is more than one solution. This study will discuss how to find a path for the Labyrinth using the BFS algorithm. The result of applying this BFS algorithm is the shortest route solution raised so that the Labyrinth can arrive at the destination point through the route provided.

Copyrights © 2021






Journal Info

Abbrev

ijair

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering

Description

International Journal of Artificial Intelligence & Robotics (IJAIR) is One of the journals published by Informatics Department, Universitas Dr Soetomo, was established in November 2019. IJAIR a double-blind peer-reviewed journal, the aim of this journal is to publish high-quality articles dedicated ...