Golf Like Never Before

The Course is Yours - Anytime, Anywhere.

About

Real World Problem 🌎

In today's fast-paced world, many people struggle to maintain strong social connections, especially when living far from loved ones. Additionally, an increasing number of individuals spend too much time on sedentary gaming, lacking the physical activity needed for a healthy lifestyle. Urban environments often offer limited space and time for outdoor recreation, further reducing opportunities for exercise and social bonding.

Proposed Solution💡

Our proposed solution is the VR Multiplayer Golf Game,an immersive and interactive platform that brings people together virtually, no matter where they are in the world. With realistic golf mechanics and smart hardware components like a golf stick, VR headset, and wrist-worn sensor, players engage in physical activity while enjoying social interaction.
The game is designed not just for entertainment, but to promote movement, communication, and wellbeing.

Potential Impact 🚀

Our solution offers a dual benefit: it strengthens long-distance relationships and encourages physical movement during gameplay. By combining the popularity of gaming with exercise, it helps users stay active and socially connected.
In the long term, this can contribute to better mental and physical health, reduce screen-time-induced health issues like obesity, and promote a more balanced lifestyle in tech-driven societies.

Features

  • Real-time Multiplayer

    Play against friends in a synchronized VR environment.
  • Physical Interaction

    Use a custom-built golf stick and handwear controller for realistic swing and motion tracking.
  • Voice Chat

    Communicate live with your opponent using secure, low-latency.
  • Authentication

    Sign in easily using email and password.
  • Session Statistics

    Track scores, and game progress in real time.
  • Haptic Feedback

    Feel every swing and impact through vibration in the hardware.
  • Cross-Platform Play

    Works on any Android phone with VR headset support.
Image 1
Image 2
Image 3
Image 4
Image 5
Image 6

Solution Architecture

High Level Architecture

Dataflow

Software Architecture

Software Architecture

Unity: Used for VR game development. Modular, scene-based Unity project with C#. Photon PUN is used for multiplayer networking, and Photon Voice provides real-time audio communication between players.

Firebase: Manages user authentication (email and password) and stores login data securely.

UDP Communication: ESP32 reads motion data from the MPU6050 sensor, connects to a Wi-Fi network, and sends real-time data to the smartphone via UDP packets.

Hardware Architecture

Hardware Architecture

Input

1. MPU6050 Sensor
  • Detects swing motion and angle
2. Push Button
  • Triggers swing or menu actions

Output

1. Vibration Motor
  • Simulates haptic feedback on swing or hit
  • Power-up and collision feedback
2. Smartphone (Unity App)
  • Displays VR golf environment
  • Handles player actions and multiplayer sync

Game Flow

  • Login Page

    Securely log in with your email and password to access your account.
  • Signup Page

    Create a new account with ease and join the game community.
  • Nickname Selection

    Choose a unique nickname to represent yourself in the game.
  • Lobby

    Meet other players, create or join matches, and prepare to play.
  • Gameplay

    Immerse yourself in multiplayer VR golf matches with real-time interactions.
1
2
3
4
5
6
7

Budget

Component Quantity Price per item (LKR) Price (LKR)
01Breadboard Power Supply1360.00360.00
02Battery Holder2145.00290.00
039V 2A Power Supply1975.00975.00
04PCB Dot Board360.00180.00
05DC Power Jack330.0090.00
06Screwdriver Flat1280.00280.00
07Screwdriver Phillips1280.00280.00
08Electric Solder1930.00930.00
09HC-05 Bluetooth Module31090.003270.00
10MPU 60502595.001190.00
11Jumper Wires2190.00380.00
12Push Button1560.00900.00
13LM2596 Step Down2280.00560.00
14ESP32 USB-C21490.002980.00
153D Print17580.007580.00
163D Design14000.004000.00
Total 24245.00

Team

We are 3rd year Undergraduates at the Department of Computer Engineering, Faculty of Engineering, University of Peradeniya

Methpura

Kavindu Methpura

E/20/254
Binuri

Binuri Senavirathna

E/20/367
Rashmika

Rashmika Sewmini

E/20/370
janith

Janith Wanasinghe

E/20/420

Supervisor

Deshan

Dr. Isuru Nawinne