Android Open Source - Game snake android-snake






Project Summary

My first try at making a game for android: the classic snake..

Web Site / Source Repository

android-snake is hosted in the following web site
https://github.com/ferrolho/android-snake

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

ItemValue
Java File Count16
Supported screen sizes[mdpi, xxhdpi, hdpi, xhdpi]
Activity Count1

Resource Files

There are 8 image files in android-snake. The names of the image files are listed as follows.

border_cell.png
clock_cell.png
green_apple_cell.png
red_apple_cell.png
shield_cell.png
snake_cell.png
snake_shielded_cell.png
yellow_apple_cell.png

The following screenshort is generated from the image listed above.

null




Java Source Files

android-snake has the following Java source files.

com.difusal.logic.Apple.java
com.difusal.logic.Cell.java
com.difusal.logic.Clock.java
com.difusal.logic.GameElement.java
com.difusal.logic.GamePanel.java
com.difusal.logic.GreenApple.java
com.difusal.logic.MainThread.java
com.difusal.logic.RedApple.java
com.difusal.logic.Shield.java
com.difusal.logic.Snake.java
com.difusal.logic.SpecialElement.java
com.difusal.logic.YellowApple.java
com.difusal.snake.ActivitySwipeDetector.java
com.difusal.snake.MainActivity.java
com.difusal.snake.SwipeInterface.java