PENERAPAN RULE BASED PADA GAME RAMBU SEFETY RIDING RODA DUA BERBASIS ANDROID
TUGAS AKHIR
Sebagai Persyaratan Guna Meraih Gelar Sarjana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang
Oleh : Lukman Hakim 09560120
JURUSAN TEKNIK INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH MALANG 2014/2015
i
ii
iii
iv
KATA PENGANTAR
Dengan memanjatkan puji syukur kehadirat Allah subhanahu wa ta’ala atas limpahan rahmat dan hidayah-Nya sehingga penulis dapat menyelesaikan tugas akhir yang berjudul : “PENERAPAN RULE BASED PADA GAME RAMBU SEFETY RIDING RODA DUA BERBASIS ANDROID” Di dalam tulisan ini disajikan pokok-pokok pembahasan yang meliputi pendahuluan, landasan teori, perancangan sistem, implementasi dan pengujian sistem. Peneliti menyadari sepenuhnya bahwa dalam penulisan tugas akhir ini masih banyak kekurangan dan keterbatasan. Oleh karena itu peneliti mengharapkan saran yang membangun agar tulisan ini bermanfaat bagi perkembangan ilmu pengetahuan ke depan. Malang, 7 Januari 2015
Penulis
v
DAFTAR ISI COVER ................................................................................................................... i LEMBAR PERSETUJUAN ................................................................................... ii LEMBAR PENGESAHAN .................................................................................. iii LEMBAR PERNYATAAN ................................................................................... iv ABSTRAK ...............................................................................................................v ABSTRACT ........................................................................................................... vi LEMBAR PERSEMBAHAN .............................................................................. vii KATA PENGANTAR ......................................................................................... viii DAFTAR ISI .......................................................................................................... ix DAFTAR GAMBAR ...............................................................................................x DAFTAR TABEL .................................................................................................. xi 1. PENDAHULUAN................................................................................................1 1.1 Latar Belakang ..........................................................................................1 1.2 Rumusan Masalah ....................................................................................2 1.3 Batasan Masalah .......................................................................................3 1.4 Tujuan Penelitian ......................................................................................3 1.5 Metodologi................................................................................................3 1.6 Sistematika Penulisan ...............................................................................4 2. LANDASAN TEORI ..........................................................................................5 2.1 Tinjauan Pustaka.......................................................................................6 2.2 Hasil Penelitian Terkait ............................................................................6 2.3 Metode Rule Based ...................................................................................7 2.4 Game Pembelajaran ..................................................................................7 2.5 Non Player Character (NPC) ....................................................................8 2.6 Android ...................................................................................................10 2.6.1 Anatomi Aplikasi Android .............................................................10 vi
2.6.2 Application Layer...........................................................................11 2.6.3 Application Framework .................................................................11 2.6.4 Android Runtime............................................................................12 2.6.5 Libraries .........................................................................................12 2.7 Adobe Flash ............................................................................................13 2.8 Rambu Lalu Lintas .................................................................................14 2.9 Pasal Lalu Lintas ....................................................................................15 3. ANALISIS DAN PERANCANGAN SISTEM ................................................16 3.1 Analisis Sistem .......................................................................................16 3.1.1 Arsitektur Sistem............................................................................16 3.1.2 Kerangka Konsep ...........................................................................17 3.1.3 Deskripsi Sistem .............................................................................17 3.1.4 Analisa Kebutuhan Fungsional .......................................................18 3.1.5 Analisa Kebutuhan Non Fungsional ...............................................18 3.1.6 Skenario Game ................................................................................19 3.2 Perancangan Sistem ................................................................................22 3.2.1 Perancangan Rule Based System ....................................................22 3.2.2 Finite State Machine .......................................................................23 3.2.3 Perancangan Antarmuka Game.......................................................23 4. IMPLEMENTASI DAN PENGUJIAN .............................................................25 4.1 Implementasi ..........................................................................................25 4.1.1 Implementasi Lingkungan pengembengan .....................................25 4.2 Pengujian Sistem ....................................................................................32 4.3 Pengujian Rule Based .............................................................................36 5. KESIMPULAN DAN SARAN .........................................................................39 5.1 Kesimpulan .............................................................................................39 5.2 Saran .......................................................................................................39 DAFTAR PUSTAKA ............................................................................................40 BIOGRAFI PENULIS ...........................................................................................40
vii
DAFTAR GAMBAR Gambar 2.1: Hirarki gerak perilaku .........................................................................9 Gambar 2.2: Arsitektur Android ...............................................................................10 Gambar 3.1: Arsitektur Sistem...............................................................................16 Gambar 3.2: Kerangka Konsep Penelitian .............................................................17 Gambar 3.3: Finite State Machine .........................................................................23 Gambar 3.4: Layout Game Safety riding Sepeda Motor ........................................23 Gambar 4.1: Frame Menu Utama ..........................................................................26 Gambar 4.2: Menu Utama ......................................................................................27 Gambar 4.3: Menu Pasang Helm ...........................................................................28 Gambar 4.4: Menu Help .........................................................................................28 Gambar 4.5: Menu Berkendara ..............................................................................30 Gambar 4.6: Pengendara Melanggar ......................................................................30 Gambar 4.7: Aksi Kejar .........................................................................................31 Gambar 4.8: Aksi Pukul .........................................................................................31
DAFTAR TABEL Tabel 2.1: Perbedaan dari setiap jenis game untuk pembelajaran ...........................8 Tabel 3.1: Menu Help ............................................................................................19 Tabel 3.2: Kelengkapan Helm................................................................................20 Tabel 3.3: Rambu Lalu Lintas ................................................................................21 Tabel 3.4: Rule based System ................................................................................22 Tabel 4.1: Pengujian Menu Utama (Start, Help dan Exit) .....................................32 Tabel 4.2: Pengujian Menu help ............................................................................33 Tabel 4.3: Pengujian Menu Game Pasang Helm ...................................................34 Tabel 4.4: pengujian Berkendara dan Pelanggaran ................................................35 Tabel 4.5: pengujian Menu Game Pelanggaran .....................................................36 Tabel 4.6: Pengujian Menu Game Pelanggaran .....................................................37 Tabel 4.7: Pengujian Menu Game aksi pukul ........................................................38
viii
DAFTAR PUSTAKA Baldi, S. 2005. Identifying best practice states in motorcycle rider education and licensing. Journal of Safety Research, 36, 19-32. Chuang, Chien-When, Shih, JU-Ling, Tseng, Jia-Jiun dan Shih, Bai-Jiun. 2010. Designing a Role-play Game for Learning Taiwan History and Geography. IEEE International Conference on Digital Game and Intelligent Toy Enhanced Learning Ichwan, M dan Hakiky, Fifin. 2011. Pengukuran Kinerja Goodreads Application Programming Interface (API) Pada Aplikasi Mobile Android. Jurnal Informatika No.2 , Vol. 2, Mei – Agustus 2011 Kose, U. 2012. Developing a Fuzzy Logic Based Game System. Jurnal Computer Technology and Application 3 (2012) 510-517. Directorate of Computer Center, Usak University, Usak 64200, Turkey Mashudi, I, Arif. 2012. Penerapan Perilaku Cerdas Pada Obyek di dalam Game Flash Tower Defense. Fakultas Teknologi Informasi, Institut Teknologi Sepuluh Nopember, Surabaya. Munawar. 2005. Permodelan visual dengan UML. Graha Ilmu. Yogyakarta Nadhillah, A. 2013. Persepsi Masyarakat Tentang Safety Riding Daytime Running Led. Fakultas Ilmu Sosial dan Politik : Universitas Pembangunan Nasional Surabaya. Nazruddin, Safaat H. 2012. Pemrograman Aplikasi Mobile Smartphone dan Tablet PC Berbasis Android. Informatika Pamungkas, S. 2012. Pentingnya Edukasi Safety Riding Sejak Dini. Tersedia di : http://autos.okezone.com/read/2012/02/07/53/571257/pentingnya-edukasi-safetyriding-sejak-dini. Tanggal akses 3 Oktober 2014 ix
Pirovano, M. 2012. The Use of Fuzzy Logic for Artificial Intelligence in Games. Departement of Computer Science, University of Milano, Italy. Tofan, Edward. 2015. Game pembelajaran Keselamatan Pengendara Sepeda Motor Berbasis Android. Teknik Informatika : Universitas Muhammadiyah Malang Torrente, J., Moreno-Ger, P., Martínez-Ortiz, I., dan Fernandez-Manjon, B. 2009. Integration and Deployment of Educational Games in e-Learning Environments: The Learning Object Model Meets Educational Gaming. Educational Technology & Society, 12 (4), 359–371. Undang-Undang RI. 2004. Pedoman dan Penyediaan dan Pemanfaatan Prasaranan dan Sarana Jalan. Jakarta : Undang – Undang Republik Indonesia.
x
xi