Specifications of project

In this section, we will eloborate on how each requirement will be completed, and draw up a list of specifications for each.

Directional Sensor

  • Must take in rotation values from the rotation sensor

  • Must smooth the input to ensure there is no jerky motion from sensor values

  • Must provide results in the form of a direction between 0 and 360 degrees from north

  • Must detect sensor changes at a very fast pace

Accelerometer/Tilt Sensor

  • Must be able to detect value changes at a very fast pace

  • When value is changed, need to change map speed instantaneously

  • Must provide smooth movement based on the tilt of the device from face up to face down

  • Speed values must be relative to the tilt and the force of gravity on the tilt sensor

Vibration Motor

  • Must provide vibration feedback to the user when a location is “hit”

  • Vibration will be actioned in a 2-beat pattern

On-Screen Prompts

  • Must provide visual feedback to the user when the game has begun

  • Must provide visual feedback after a location has been “hit”

Locations

  • Locations must be provided in “City, Latitude, Longitude” format

  • Locations will be read in from CSV formatted text file

  • Locations will be randomly selected to benefit the gaming aspect of the app

Visual Display

  • Target location will be shown at the bottom of the screen, along with target location coordinates

  • Score will be shown at the bottom of the screen

  • The map will update within a reasonable time for best user experience when using the game