A free Snake clone for Android with hand-drawn graphics by Benjamin Kan (former Benjamin Sautermeister) and Vanessa Kan. The game is powered by LibGDX, and this project's main purpose was to learn that cross-platform Java game development framework by example.
You can download the game from Google Play Store.
- Online leaderboards and achievements
Use Java 11 to build and run the project.
Use Java 11 to build and run the project.
On MacOS, the VM argument -XstartOnFirstThread
is required to launch the project on desktop.
Setting this flag is already defined the in the desktop:run
Gradle task. However, if you simply
run the main method of the DesktopLaumcher
class, the auto-created IntelliJ run configuration does
not actually use that Gradle task. Instead, simply create this run configuration yourself:
- Select Edit configurations...
- Add a new Gradle configuration
- Use
desktop:run
as the command to Run - Launch the created run configuration
While this might only be strictly necessary for MacOS, it does not harm to do that for any platform, to ensure the proper Gradle task to run the desktop project is used.
- Install the MobiVM plugin into Android Studio
- Install Xcode
- Create a run configuration
- Select Edit configurations...
- Add a new RoboVM iOS configuration
- Select the project's Module
- Select Simulator toggle (which does not need a provisioning profile)
- Launch the run configuration
Thanks to Scott Holmes for allowing us to use this his song in our non-commercial game. The song is free to use under FREE Creative Commons License.
This work is published under MIT License.