Giter Club home page Giter Club logo

skribbl-clone's Introduction

Skribbl.io clone ๐ŸŽจ

What is skribbl.io?

Skribbl Game Clone: A multiplayer online drawing and guessing game inspired by Skribbl.io, implemented using Node.js and Socket.io. This project allows players to take turns and draw a given word while other players try to guess it. With real-time communication through Socket.io, players can chat, exchange drawings, and compete in a lively and interactive gaming environment. Join the fun and unleash your artistic skills in this exciting Skribbl game clone. ๐ŸŽจ This is my first attempt to make a clone of an actual game.


How to Play?

  • First player to join the game is the host and all the other players must wait untill the host begins the game.
  • Once the game starts, you will be assigned a word to draw.
  • Use the drawing tools provided to create a picture related to your word.
  • Other players will try to guess the word based on your drawing.
  • Simultaneously, you can also guess what others are drawing by typing your answer into the chatbox.
  • Players also get to vote if the drawing is good or not. (๐Ÿ‘๐Ÿป or ๐Ÿ‘Ž๐Ÿป)
  • The faster you guess correctly, the more points you earn.
  • The game proceeds with each player taking turns drawing and guessing.
  • Enjoy the lively chat and interactions with other players throughout the game.

How to Run the server?

Required Packages:

$ npm install express

$ npm install socket.io

To run the game server:

$ node server.js

The game will then be accessible at localhost:3000. The default port is 3000, however this can be changed in the server code, or enter the server IP address and port after port forwarding.


For Game Admin:

Commands are available to tweek the server settings from the chat.

Use //admin {admin-password} {command} {player-name}*(optional) {value}*(optional) to make changes.

Some of the available options are:
  • kickall Example: //admin {admin-password} kickall Kicks all the connected players and restarts the game.
  • kick Example: //admin {admin-password} kick {player-name} Kicks specific player from the game.
  • givePoints Example: //admin {admin-password} givePoints {player-name} Adds specified points to the player.
  • setdrawtime Example: //admin {admin-password} setdrawtime {value *in seconds} Sets the time given to draw the word.
  • setchoosetime Example: //admin {admin-password} setchoosetime {value *in seconds} Sets the time given to choose a word.
  • restart Example: //admin {admin-password} restart Restarts the game for all players.

Screenshots:


Contributions:

If you are interested in this project, make sure to add it to your favorites or give a โญ to get the latest updates. I am open to improvements especially in the server code. Please feel free to clone this repository and modify or improve anything as you wish. Check out my other games ๐Ÿ‘‰๐Ÿป here

skribbl-clone's People

Contributors

shreyasts avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.