InstaGame is an interactive online gaming platform where users can join and play various games in real-time. It features a variety of multiplayer games, room creation options, leaderboards, and more.
- Multiplayer gaming rooms
- Real-time gameplay
- Leaderboard system
- Secure login and registration system
To install InstaGame, follow these steps:
- Clone the repository:
git clone https://github.com/yale-cpsc-419-fa23/project-project-group-18.git
- Install requirements:
pip install -r requirements.txt
- Navigate to the backend directory:
cd back-end
- Run the following command to start your backend:
python run_server.py PORT
- Find your backend address. After running the above command, the following address will be shown in terminal:
IMPORTANT: You will need to replace your backend address in the frontend
* Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5001 * Running on http://192.168.4.26:5001
config.js
file.
-
Navigate to the project directory:
cd instaGame
-
Replace your backend address in
config.js
:export const SERVER_ADDRESS = { IP: YOUR_ADDRESS, PORT: YOUR_PORT, };
-
Install dependencies:
npm install
-
To start the application, run the following command:
npm run dev
-
Open your browser and navigate to http://localhost:xxxx