Android Open Source - Game barrel BarrelRace






Project Summary

Developed a barrel racing game in a group of three using various android sensors wherein the user is challenged to complete the game in the minimum possible time. The user has to overcome all the obstacles in this attempt to complete the entire race track. The best scores are updated with each race..

Web Site / Source Repository

BarrelRace is hosted in the following web site
https://github.com/vivekparekh8/BarrelRace

If you think the Android project BarrelRace 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 BarrelRace.

ItemValue
Java File Count14
Supported screen sizes[hdpi]
Target SDK Version21
Minimum SDK Version13
Activity Count7
jar files usedandroid-support-v4.jar
Required Permissionsandroid.permission.VIBRATE
android.permission.WRITE_EXTERNAL_STORAGE




Resource Files

There are 10 image files in BarrelRace. The names of the image files are listed as follows.

background.png
ball.png
bronze.png
droid_1.png
guide.png
play.png
restart.png
settings.png
silver.png
trophy.png

The following screenshort is generated from the image listed above.

null




Java Source Files

BarrelRace has the following Java source files.

com.example.barrelhorse.GameActivity.java
com.example.barrelhorse.GameOverActivity.java
com.example.barrelhorse.HighScores.java
com.example.barrelhorse.MainActivity.java
com.example.barrelhorse.MainGamePanel.java
com.example.barrelhorse.MainThread.java
com.example.barrelhorse.Score.java
com.example.barrelhorse.ScoreActivity.java
com.example.barrelhorse.SettingActivity.java
com.example.barrelhorse.ShowInfo.java
com.example.barrelhorse.model.Ball.java
com.example.barrelhorse.model.Barrel.java
com.example.barrelhorse.model.Ground.java
com.example.barrelhorse.model.Rectangle.java