Star Wars Space Invaders
Surviving in space by tilting your phone, and playing with the light in the room.
- Type
- Mobile game
- Context
- BUT year 3 project
- Year
- 2026
- Technologies
- Kotlin, Android, Android Studio, JSON

The menu with its three best times, then a run in a lit room and in the dark
An Android game in Kotlin, set in the Star Wars universe. You fly an X-wing by tilting the phone, using the accelerometer, and the goal is to survive as long as possible: the game speeds up over time, and the player has three lives and a pause button.
The real light in the room, read by the light sensor, changes the game. Above 130 lux, a halo lights up in front of the ship and destroys enemy ships, but not asteroids, which you have to dodge. In the dark, the screen goes black and you can barely see anything.
Every 15 seconds, a red Imperial zone sweeps across the screen: touching it with the halo on costs a life, so you have to switch the light off to get through. A briefing introduces the enemies before each run, and the three best times are saved on the phone and shown in the menu and at the end of a run.
- Accelerometer steering
- Room light turns the halo on or plunges the screen into darkness
- Top 3 survival times, saved on the phone

The rules: the light halo and the Imperial alert

The mission briefing: enemies, asteroids and the X-wing