CSCI 448 - Mobile Application Development (Android)

Spring 2021

|   Home   |   Syllabus  |   Assignments  |   Schedule  |   Resources    |

Andrew Hupp

This assignment (A4 - Sensor and Sensorbility) involved creating a game that relies on device sensors for input. The game I created uses the light sensor, accelerometer, and magnetometer. The light sensor is used to modify game object colors based on light levels while the accelerometer and magnetometer are used to determine device orientation. The goal of this game is to guide the ball (filled circle) into the circular goal (unfilled circle) to score points. The ball is moved by holding the phone screen upwards and tilting the phone. Only diagonal movement is possible. After reaching the goal your score increases and the goal's position and radius are randomized.


light mode example dark mode example

light mode and dark mode