A real-time multiplayer game where players race to find and photograph objects in specific locations. Built with Android, Node.js, and Google's ML technologies.
- 2-Player Real-Time Competition using Socket.IO
- Object Detection with Android ML Kit (client) + Google Vision API (server)
- Location-Based Challenges
- Live Score Tracking
- Custom Game Rooms with Join Codes
- Clone repo:
git clone https://github.com/bazarkua/final-project-objecthunt.git cd final-project-objecthunt/server
- Install dependencies:
npm install
- Configure
.env
:GOOGLE_APPLICATION_CREDENTIALS="path/to/service-account.json" PORT=3000
- Start server:
npm start
- Open
client/android-project
in Android Studio - Add
google-services.json
toapp/
directory - Build and run on device/emulator
// Example game flow:
1. Player A creates room → gets code "ABC123"
2. Player B joins with code "ABC123"
3. System generates challenge: "Find a [laptop] in the [library]"
4. First player to snap a valid photo wins the round!
5. Game continues until all objects are found
Component | Technologies |
---|---|
Frontend | Android (Kotlin), ML Kit, CameraX |
Backend | Node.js, Socket.IO, Google Vision API |
Database | Firebase Realtime Database |
Auth | Google Sign-In |