Skip to content

A web-based multiplayer golf game where players can compete against each other in real-time.

Notifications You must be signed in to change notification settings

rasmussvala/TDDD27-Web-Golf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDDD27: Web Multiplayer Game

Description

Welcome to our project for the course TDDD27 Advanced Web Programming at Linköping University 2024. We have created a web-based multiplayer golf platform where players can compete against each other in real-time. The golf game is based on a previous project in the course TNM085 Modelling Project, which deals with physics simulation through Euler approximation (link to GitHub repo: Grantallkotten/Modelling-and-animation). Beyond gameplay, players can interact via chat during sessions, access personal statistics, and compete for the top spot on the leaderboard.

Try it yourself

webgolf.vercel.app

Technologies and Frameworks

We use the following technologies and frameworks:

  • React.js: For building the user interface.
  • Firebase: For storing player data, game statistics, and other relevant information.
  • Three.js: For creating the game.
  • Anime.js: For simple UI related animations.

Main Features

  • User accounts
  • User statistics
  • Lobby codes to join games
  • Game chat
  • Real-time gameplay

Run it on your local machine

To be able to run the code on your own machine, you need to take the following steps:

  1. Clone the Repository: git clone https://gitlab.liu.se/rassv453/tddd27-aweb.git
  2. Install Dependencies: npm install
  3. Set Up Environment Variables: Create a .env file in the root of the project directory and add your Firebase API Key (It can be found at Firebase Console, but you need access). Then add the following line in your .env REACT_APP_API_KEY=your_api_key_here
  4. Run the Development Server: npm start

Images of the Web App

photo-collage png