Chess-like Turn-based Game

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.

Requirements

  • Node.js (v14.x or higher)
  • npm (v6.x or higher)
  • Git

Installation

  1. Clone the Repository

    git clone https://github.com/SriramVaishnav/SriramVaishnav_21BRS1378
    cd chess-like-game
  2. Backend Setup

    Navigate to the backend directory, install the dependencies, and start the WebSocket server:

    cd backend
    npm install
    node server.js
  3. Frontend Setup

    Navigate to the frontend directory, install the dependencies, and start the Next.js development server:

    cd ../frontend
    npm install
    npm run dev
  4. Run the Game

    • Open your browser and navigate to http://localhost:3000.

License

This project is licensed under the MIT License.