Skip to content

A multi-player LUDO game, made with node.js, socket.io

License

Notifications You must be signed in to change notification settings

CyberCitizen01/LUDO

Repository files navigation

LUDO

A multi-player LUDO game, made with node.js, socket.io and Vanilla Javascript.


GitHub package.json dependency version (prod) GitHub package.json dependency version (prod)
Website GitHub last commit


Build

You can either build the app by cloning the repository or by pulling the Docker image.

  • By Cloning:

    Clone the repo:

    git clone https://github.com/CyberCitizen01/LUDO/

    Install the dependencies:

    npm install

    Start the node server:

    npm start

    Head over to http://localhost:3000/, to see the Home Page.


  • By Docker:

    From an docker image:

    Docker Image Size (latest by date)

    • Pull the image and run:
      docker run --name the-ludo-game -p 3000:3000 cybercitizen01/the-ludo-game
      Head over to http://localhost:3000/, to see the Home Page.
    • The above command attaches the shell of the container to your terminal, and thus when you hit ^C the container stops automatically. To run the container in detached mode:
      docker run --name the-ludo-game -d -p 3000:3000 cybercitizen01/the-ludo-game
    • To monitor the output of the game:
      docker logs the-ludo-game
    • Now, to stop the container:
      docker stop the-ludo-game
    • Also, to remove the container after stopping:
      docker rm the-ludo-game
      (add a -f flag at the end, to forcefully remove a running container)




Note: This is not an complete README file, It will soon have Screenshots to decribe the project in detail.