https://github.com/pmcode9992/pranav-murthy-21bbs0059
https://github.com/pmcode9992/pranav-murthy-21bbs0059
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pmcode9992/pranav-murthy-21bbs0059
- Owner: pmcode9992
- Created: 2024-08-25T09:40:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-27T06:25:41.000Z (over 1 year ago)
- Last Synced: 2025-03-15T06:42:19.434Z (about 1 year ago)
- Language: JavaScript
- Size: 187 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HeroChess
___
HeroChess is an exciting multiplayer game that utilizes WebSockets for real-time communication between the frontend and backend. The frontend is built with React, and the backend is powered by Node.js, with the server running on Deno.
## Prerequisites
Before you can run the project, ensure you have the following installed:
- **Node.js**: Download and install Node.js from [Node.js official website](https://nodejs.org/).
- **Deno**: Download and install Deno from [Deno official website](https://deno.land/).
## Installation and Running the Application
### 1. Setup the Client
1. Navigate to the client directory:
```bash
cd client/herochess
```
2. Install the necessary packages:
```bash
npm install
```
3. Start the React development server:
```bash
npm start
```
### 2. Setup the Server
1. Navigate to the server directory:
```bash
cd server
```
2. Run the server using Deno:
```bash
deno run --allow-net=0.0.0.0:80 --allow-read=../client/herochess/public/index.html main.js
```
## How to Play
Once both the client and server are running:
- Open your browser and navigate to `http://localhost:3000` to start playing HeroChess.
---
You can customize this template further based on your project's needs.