Skip to content

A minimalist Android arcade game where players navigate between three lanes to avoid falling obstacles. Features include three lives, obstacle avoidance gameplay, custom UI controls with haptic feedback, and automatic game restart. Built with Kotlin using visibility state changes for efficient animations.

Notifications You must be signed in to change notification settings

michaelarie96/FootballCollisionGame

Repository files navigation

🏈 Football Collision

Android Kotlin Google Maps

Football Collision is an exciting Android game that combines quick reflexes, strategic movement, and location-based features to create an engaging mobile gaming experience. Navigate your player through a challenging five-lane road, avoid obstacles, collect power-ups, and compete for the highest score on the global leaderboard!

🎮 Features

Multiple Game Modes

  • Button Mode - Slow: Perfect for beginners to learn the game mechanics
  • Button Mode - Fast: Increased difficulty for experienced players
  • Sensor Mode: Innovative tilt controls for an immersive experience
    • Tilt left/right to move
    • Tilt forward/backward to control speed

Gameplay Elements

  • 🛣️ Five-lane road system for strategic navigation
  • 📏 Distance-based scoring system with odometer
  • ❤️ Life system with collectable power-ups
  • 🔊 Immersive sound effects
  • 🏆 Global leaderboard with location tracking
  • 🗺️ Google Maps integration to view score locations

🎯 How to Play

  1. Choose your preferred game mode from the main menu
  2. Navigate your quarterback between lanes to avoid cones
  3. Jump over barriers to gain extra lives
  4. Try to travel as far as possible
  5. Submit your score to compete on the leaderboard
  6. View score locations on the integrated map

🛠️ Technical Implementation

Core Components

  • Custom game engine with efficient collision detection
  • Sensor-based controls using device accelerometer
  • Persistent score storage using SharedPreferences
  • Google Maps API integration for location features

Architecture

  • Modern Android development practices
  • MVVM architecture
  • Fragment-based UI components
  • Custom view implementations
  • Location services integration

🔧 Installation

To run this game on your Android device:

  1. Clone this repository
  2. Open the project in Android Studio
  3. Build and run on your Android device or emulator

🔑 Requirements

  • Android SDK 21 or higher
  • Google Play Services
  • Device with accelerometer (for Sensor Mode)
  • Location services enabled (for score tracking)

Acknowledgments

  • Developed as part of an Android development course project

About

A minimalist Android arcade game where players navigate between three lanes to avoid falling obstacles. Features include three lives, obstacle avoidance gameplay, custom UI controls with haptic feedback, and automatic game restart. Built with Kotlin using visibility state changes for efficient animations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages