Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer
Vol 2 No 10 (2018): Oktober 2018

Penerapan Konsep State Pattern Pada Game Engine (Studi Kasus Game Wipe It Off)

Firadi Surya Pramana (Fakultas Ilmu Komputer, Universitas Brawijaya)
Eriq Muhammad Adams Jonemaro (Fakultas Ilmu Komputer, Universitas Brawijaya)
Muhammad Aminul Akbar (Fakultas Ilmu Komputer, Universitas Brawijaya)



Article Info

Publish Date
13 Feb 2018

Abstract

Game that uses state machine as their agent behaviour decision making is common nowaday. However, there still lots of game engine that can't handle that requirement. State pattern is one of design pattern that could handle that requirement. Components of state pattern on game engine are defined and given the name of Initial State, Check State, and Handle State. Components of finite state machine on game are defined and given the name of Idle State, Moving State, and Cleaning State. State pattern on game engine implemented as a interface class that become thhe parernt of each state on finite state machine. Finite state machine on game implemented as an individual class that inherit the interface class from state pattern. State pattern tested with white-box testing and all the compoent are given the value of valid. Finite state machine tested with black-box testing and all the transitions are succeded and given the value of valid. With this game engine, therefore there is no game developer that will experience difficulty in developing game that uses state machine as their basic need.

Copyrights © 2018






Journal Info

Abbrev

j-ptiik

Publisher

Subject

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

Description

Jurnal Pengembangan Teknlogi Informasi dan Ilmu Komputer (J-PTIIK) Universitas Brawijaya merupakan jurnal keilmuan dibidang komputer yang memuat tulisan ilmiah hasil dari penelitian mahasiswa-mahasiswa Fakultas Ilmu Komputer Universitas Brawijaya. Jurnal ini diharapkan dapat mengembangkan penelitian ...