Blade Whirl: throw, stick, slice
A one-tap arcade game for Android, delivered as a clean Android Studio project written in Java. A target spins at the top of the screen: tap to throw a knife, stick every knife to break the target, and never hit a knife that is already stuck. Slice apples for coins, unlock new knives and beat a boss every 5th stage. No game engine: everything is drawn with Android Canvas, so it is sharp on every screen and the release APK is about 3.8 MB.
Features
- Endless stages with rising difficulty: more knives, faster spin and four spin patterns (steady, reversing, speeding up and slowing down, stop and go)
- Pre-stuck obstacle knives on later stages
- Boss stage every 5th stage (Iron Wheel, Cheese Moon, Stone Ring) with a +10 apple reward
- Apples on the rim to slice; apples buy 7 knife skins in the knife shop
- Breaking-target and wood-chip effects, screen shake, sound effects and vibration
- First-play hint on the game screen and a How to play page (home screen and pause menu)
- Settings: sound effects, vibration, reset progress
- Best score, best stage, apples and bought knives saved on the device
- Pause menu and game-over screen with best score and apples earned
- Ready to translate: every text is in strings.xml, and a new language is one more strings.xml file
- Plays fully offline
AdMob
- Adaptive banner on the home screen (hidden when offline or when no ad loads)
- Interstitial after every 3rd game over (one setting); ads never show during play
- All ad ids in one file (res/values/ads.xml). The item ships only with Google’s official test ids (ca-app-pub-3940256099942544/...): no real ad unit id is included
- The documentation explains every AdManager method and callback, how to move the banner, how to add a rewarded ad, where to register a test device in AdMob, what to remove before a release, and what to check when a banner or an interstitial does not show
Note: AdMob is a separate Google service. To earn from ads you need your own AdMob account. AdMob has its own terms and policies, may involve costs, and Google keeps a share of the ad revenue (revenue sharing).
Easy to customise
- GameConfig.java: every gameplay number (knives, spin speed, boss interval, rewards, collision size, ad frequency), each with a safe range and warnings for values that make the game unplayable
- Skins.java: add a knife skin with one entry (worked example in the documentation, no image files needed)
- strings.xml and colors.xml: all texts and the main colours, with a step-by-step guide to add a language
- Architecture overview with a class diagram, entry points, a reference of every Prefs method and step-by-step guides to add a boss, a new screen or a dialog
- Documentation with screenshots of every screen, a numbered guide to the game screen, AdMob setup, a release checklist, troubleshooting, FAQ and a changelog with an upgrade guide
What you get
- BladeWhirl/: the Android Studio project (Java, Gradle wrapper included)
- APK/BladeWhirl-demo.apk: a signed demo build to try on a phone
- documentation/ and Documentation.html: the full documentation
- Unit tests that play the game logic and check the knife skins (gradlew test)
Version 2.1.0
- New, original name: Blade Whirl (project folder, package, theme and demo APK renamed; gameplay unchanged)
- Ready to translate: the stage banner, the boss names and the knife names are in strings.xml now
- AdManager writes the reason to Logcat when an ad does not load or cannot be shown
- New documentation: Prefs reference, test devices in AdMob, release checklist, troubleshooting for ads, translation guide
- Version 2.0 rebuilt the project on current Android tools (Gradle 8.11.1, AGP 8.7.3, SDK 35)
Technical Requirements
- Android Studio Ladybug (2024.2) or newer, JDK 17
- Gradle 8.11.1 (wrapper included), Android Gradle Plugin 8.7.3
- Java 17, no Kotlin; compileSdk and targetSdk 35, minSdk 23 (Android 6.0)
- AndroidX AppCompat 1.7.0, Material Components 1.12.0, Google Mobile Ads SDK 23.6.0
- Dependencies come only from google() and mavenCentral()
Support
Support is provided in English through the item comments and the support form. Please include your Android Studio version, the full error text and a screenshot.
Credits
All code, drawings and sound effects are original. Libraries: AndroidX and Material Components (Apache License 2.0), Google Mobile Ads SDK (Google APIs Terms of Service).