Giter Club home page Giter Club logo

pyhoot's Introduction

PyHoot

Kahoot clone based on Python, final project for Gvahim.

Warning: Python 2.7 must be installed on the system. if you don't have it have it, you can download it from here. Link

When you install in Customize Python 2.7.x, make sure you click on Add python.exe to Path and then on Will be installed on local hard drive.

How to start the server:

###If you are using windows (recommended for Windows users):###

Go to the PyHoot directory and click on Start Server (Windows).bat from the PyHoot Directory. It will start the server on your IP address with port 80, meaning that you can join the game from any device in the same network as your server by writing the address in the address line. If you don't know your own IP address you can see it on the third line on the window that will be opened.

###If you are using command line \ shell (recommended for experts and Linux users):###

Start the command line or shell in your system and change the directory where you put the directory of files (named PyHoot). Write the next command in the command line \ shell:

python -m PyHoot

This command will enable you to use different arguments than the default ones, you can do it using the next script.

python -m PyHoot --[name of argument]=[the value of the arguement] In this way, you'll be able to add as many arguments as you want.

To shutdown the Robot use CTRL + Break

Arguments list:

    -h, --help            show this help message and exit
    --address ADDRESS [ADDRESS ...]
                        The address(es) we will connect to, default
                        ['localhost:8080']
    --buff-size BUFF_SIZE
                        Buff size for each time, default 1024
    --base BASE           Base directory
    --io-mode {select, poll}
                        IO that will be used, default select.
                        In windows only select available.
    --log-level {DEBUG,INFO,WARNING,CRITICAL,ERROR}
                        Log level
    --log-file FILE       Logfile to write to, otherwise will log to console.

pyhoot's People

Contributors

guy-markman 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.