Android Open Source - Game bluetooth FightingFruits






Project Summary

A multiplayer 2D Android game over bluetooth with the purpose of collecting as many fruits as possible while preventing the opponent from doing so. (Android).

Web Site / Source Repository

FightingFruits is hosted in the following web site
https://github.com/M-Elmaghraby/FightingFruits

If you think the Android project FightingFruits listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of FightingFruits.

ItemValue
Java File Count10
Supported screen sizes[hdpi]
Target SDK Version17
Minimum SDK Version8
Activity Count4
jar files usedandroid-support-v4.jar
Required Permissionsandroid.permission.BLUETOOTH
android.permission.BLUETOOTH_ADMIN
android.permission.VIBRATE
Asset File Namesassets\clock_ticks.mp3
assets\explosion.mp3
assets\ice_cracking.mp3
assets\loser.mp3
assets\midnight-ride.mp3
assets\right_fruit.mp3
assets\winner.mp3
assets\wrong_fruit.mp3




Resource Files

There are 17 image files in FightingFruits. The names of the image files are listed as follows.

explosion.png
game_alarm.png
game_banana.png
game_basket.png
game_bomb.png
game_coconut.png
game_green_apple.png
game_ice.png
game_player_score_1.png
game_player_score_2.png
game_red_apple.png
game_yellow_apple.png
lost.png
main_menu_exit.png
main_menu_join_game.png
main_menu_new_game.png
won.png

The following screenshort is generated from the image listed above.

null




Java Source Files

FightingFruits has the following Java source files.

com.mandaGames.fightingfruits.BluetoothConnection
.java
com.mandaGames.fightingfruits.ConnectThread.java
com.mandaGames.fightingfruits.ConnectionSocket
.java
com.mandaGames.fightingfruits.Fruit.java
com.mandaGames.fightingfruits.GamePlay
.java
com.mandaGames.fightingfruits.GamePlayActivity.java
com.mandaGames.fightingfruits.GamePlayView.java
com.mandaGames.fightingfruits.JoinGame.java
com.mandaGames.fightingfruits.LaunchScreen.java
com.mandaGames.fightingfruits.NewGame.java