This is a turn-based chess-like game built with Node.js for the backend and Next.js with Tailwind CSS for the frontend. The game features real-time communication using WebSockets, allowing two players to compete on a 5x5 grid with unique characters and movement rules.
- Node.js (v14.x or higher)
- npm (v6.x or higher)
- Git
-
Clone the Repository
git clone https://github.com/SriramVaishnav/SriramVaishnav_21BRS1378 cd chess-like-game
-
Backend Setup
Navigate to the backend directory, install the dependencies, and start the WebSocket server:
cd backend npm install node server.js
-
Frontend Setup
Navigate to the frontend directory, install the dependencies, and start the Next.js development server:
cd ../frontend npm install npm run dev
-
Run the Game
- Open your browser and navigate to
http://localhost:3000
.
- Open your browser and navigate to
This project is licensed under the MIT License.