Code Monkey home page Code Monkey logo

selenium_skribbl_io_bot's Introduction

selenium_skribbl_io_bot

This uses selenium-webdriver to fill in the forms and start a game with custom words.

Selenium is a browser automation library. Most often used for testing web-applications but we can also use it to play skribbl.io provided the bot starts a custom game.

dependancies

  1. geckodriver

    This is a seperate application that allows selenium to interact with the firefox browser ( sudo apt install geckodriver -y )

  2. nodejs

    sudo apt install node -y

  3. npm

    Most of the time this comes with the node package but if not you will need to install it too ( sudo apt install npm -y )

Setup

git clone https://github.com/ArtiomSu/selenium_skribbl_io_bot.git && cd selenium_skribbl_io_bot && npm install

Play the game

Run npm start to start the bot.

Provided everything is setup properly a firefox window should open and start navigating to skribbl.io, creating a custom game and waiting for people to join.

In the terminal you should see an invite link that has been copied to your clipboard, so you can open up another browser and paste.

Once you joined the lobby in the terminal you will see output saying a player has joined.

You will have to press start game or you can edit the bot to start the game as soon as a player joins, I didnt do that since multiple players can join and it will work fine.

When the bot is guessing it will go through the words in word_list.txt that match the length of the word to be guessed until it guesses the right one.

When it is the bots turn to draw it will pick the first word that comes up and won't do anything ( so it wont draw anything unfortionately ).

config

You can create your own wordlist by editing word_list.txt just make sure it is in the format like this word1,word2,word3,word4,wordlast

selenium_skribbl_io_bot's People

Contributors

artiomsu avatar

Stargazers

 avatar

Watchers

James Cloos 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.