DESAIN DAN IMPLEMENTASI APLIKASI GAME “TEBANG” MULTIPLAYER PADA MOBILE TEKNOLOGI
TUGAS AKHIR
Diajukan Sebagai Syarat Untuk Memperoleh Gelar Sarjana S1 Di Fakultas Teknik Universitas Muhammadiyah Malang
Oleh : Dewi Nur Warnanda Baso Rakka 09560007
JURUSAN TEKNIK INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH MALANG 2015
i
LEMBAR PENGESAHAN DESAIN DAN IMPLEMENTASI APLIKASI GAME “TEBANG” MULTIPLAYER PADA MOBILE TEKNOLOGI
TUGAS AKHIR Sebagai Persyaratan Guna Meraih Gelar Sarjana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang Disusun Oleh : Dewi Nur Warnanda Baso Rakka 09560007
Tugas Akhir ini telah disetujui dan dinyatakan lulus oleh tim penguji pada 29 April 2015
Disetujui Oleh, Dosen Penguji 1
Dosen Penguji 2
SofyanArifianto, S.Si., M.Kom
Agus Eko Minarno, S.Kom, M.kom NIP : 108.1410.0540 Mengetahui
Kepala Jurusan Teknik Informatika
Yuda Munarko, S.Kom, M.Sc NIP. 108.0611.0443
ii
KATA PENGANTAR Dengan memanjatkan puji syukur kehadirat Allah SWT atas limpahan rahmat, nikmat, hidayah, dan ridho-Nya, sehingga peneliti dapat menyelesaikan Tugas Akhir yang berjudul:
“DESAIN DAN IMPLEMENTASI APLIKASI GAME “TEBANG” MULTIPLAYER PADA MOBILE TEKNOLOGI” Di dalam tulisan ini disajikan pokok-pokok bahasan yang meliputi game “tebang”, penggunaan bluetooth serta android. Selain itu, juga akan disampaikan mengenai cara bermain dan hasil yang didapat dari permainan ini. 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 kedepan.
Malang, 25 Mei 2015
Dewi Nur Warnanda Baso Rakka
iii
DAFTAR ISI
HALAMAN JUDUL .......................................................................................
Halaman i
LEMBAR PERSETUJUAN ............................................................................
ii
LEMBAR PENGESAHAN .............................................................................
iii
LEMBAR PERNYATAAN .............................................................................
iv
ABSTRAK .......................................................................................................
v
ABSTRACT .......................................................................................................
vi
LEMBAR PERSEMBAHAN ..........................................................................
vii
KATA PENGANTAR .....................................................................................
ix
DAFTAR ISI....................................................................................................
x
DAFTAR GAMBAR .......................................................................................
xiii
DAFTAR TABEL............................................................................................
xiv
BAB I : PENDAHULUAN ............................................................................
1
1.1 Latar Belakang ...........................................................................................
1
1.2 Rumusan Masalah ......................................................................................
2
1.3 Tujuan ........................................................................................................
3
1.4 Batasan Masalah ........................................................................................
3
1.5 Metodologi .................................................................................................
3
1.6 Sistematika Penulisan ................................................................................
4
BAB II : LANDASAN TEORI ......................................................................
7
2.1 Game (Permainan) .....................................................................................
7
2.2 Game Theory (Teori Permainan) ...............................................................
7
2.3 Kecerdasan Buatan.....................................................................................
9
2.4 Game Tebak Angka ...................................................................................
10
2.5 Bluetooth ....................................................................................................
11
2.6 Android ......................................................................................................
14
iv
2.6.1 Arsitektur Sistem Operasi Android..............................................
15
2.6.2 Application Programming Interface (API) Android ....................
16
2.7 Software Development Kit (SDK) .............................................................
17
2.7.1 Eclipse ..........................................................................................
17
2.7.2 Java Development Kit (JDK) .......................................................
18
2.8 Unifed Modeling Language (UML)...........................................................
19
BAB III : ANALISA DAN PERANCANGAN SISTEM ............................
21
3.1 Analisa Sistem ...........................................................................................
21
3.1.1 Flowchart Sistem ........................................................................
22
3.1.2 Usecase Diagram ........................................................................
23
3.1.3 Deskripsi Perangkat Lunak .........................................................
24
3.1.4 Analisis Kebutuhan Sistem .........................................................
24
3.2 Perancangan Sistem ...................................................................................
24
3.2.1 Sequence Diagram Sistem ..........................................................
25
3.2.2 Activity Diagram Sistem.............................................................
27
3.2.3 Desain Interface ..........................................................................
29
3.2.4 Class Diagram .............................................................................
30
BAB IV : IMPLEMENTASI DAN PENGUJIAN .......................................
31
4.1 Implementasi Sistem ..................................................................................
31
4.1.1 Implementasi Pengembangan Perangkat Keras ..........................
31
4.1.2 Implementasi Lingkungan Pengembangan Perangkat Lunak .....
32
4.1.3 Implementasi Case Aplikasi .......................................................
32
4.1.4 Code Main Java...........................................................................
33
4.1.5 Code Play Java ............................................................................
35
4.1.6 Code Score Java ..........................................................................
37
4.2 Pengujian Sistem........................................................................................
38
4.2.1 Pengujian Menu Pada Aplikasi ...................................................
38
v
4.2.2 Pengujian Play Game ..................................................................
39
4.2.3 Pengujian Score Game ................................................................
41
4.2.4 Blackbox Testing ........................................................................
41
BAB V : KESIMPULAN DAN SARAN.......................................................
44
5.1 Kesimpulan ................................................................................................
44
5.2 Saran ..........................................................................................................
45
vi
DAFTAR PUSTAKA Siyamta. 2005. Pengantar Teknologi its.edu/~yuliana/Bluetooth/yamta-bluetooth.pdf
Bluetooth,
http://lecturer.eepis-
Howard, Chris, 1993, Programming Games for Beginners, Sams
Publishing.
Jogiyanto. Analisa dan Desain Sistem Informasi, penerbit Andi
Yogyakarta, 2005.
Hendra, S., 1992, Membuat Komputindo, Jakarta.
Program
Permainan
dengan
Basic,Elex
Media
Leyton – Brown, K. dan Shoham, Y. 2008. Essentials of Games Theory United States of America: Morgan & Claypool. Nazaruddin Safaat H. 2012. Android Pemrograman Aplikasi Mobile Smartphone dan Tablet PC Berbasis Android. Informatika. Bandung. Burnette, Ed, 2009, “Hello, Android “Introducing Google’s Mobile Development Platform”, http://androidon.ru, diakses pada 25 april 2013 pukul 04.48 PM. Wikipedia, 2013, “Pengertian dan definisi virtual macine dalvik” http://en.wikipedia.org/wiki/Dalvik_%28software%29, diakses pada 25 april 2013 pukul 05.00 PM. Develop, android, 2013, “Application Programming Interface (API) Android”, http://developer.android.com/guide/index.html, diakses pada 25 april 2013 pukul 06.30 PM. [Wikipedia, Indonesia, Java, [ online ], (http://id.wikipedia.org/wiki/Java, diakses 25 april 2013) Wikipedia, Indonesia, UML, [ online ], (http://id.wikipedia.org/wiki/UML, diakses 25 april 2013 )
vii