Coder Social home page Coder Social logo

shsarv / unplug-the-player Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 3.0 22.72 MB

This is the Repository for the Mini Project done using the flask and python libraries, required as a part of the course curriculum.

Home Page: https://unplug-the-players.herokuapp.com/

License: MIT License

Python 0.02% HTML 0.06% CSS 0.04% JavaScript 0.03% Jupyter Notebook 99.85%
quiz-game quiz cosine cosine-similarity-scores cosine-similarity similarity-measures knowledge game-player

unplug-the-player's Introduction

UNPLUG-THE-PLAYERS

This project is live at-------> https://unplug-the-players.herokuapp.com/


Objective

The main objective of the project is to create a web application game which allows to explore our knowledge in football. It will be like quiz-based game where game player will be awarded different points on his correct answer at different stage. The pre-objective is to gather the complete data and pre-process the data on which our web app will run.

Methodology

  • Data Collection.
  • Data Preprocessing
  • Developing Cosine Similarty function.
  • Creating web pages.
  • Deployment.

Technologies to be Used

Codebase

The entire code has been developed using Python programming language and is hosted on Heroku. The analysis and model is developed using ScikitLearn and scipy library. The website is developed using Flask.

How to run the project ๐Ÿš€:

  1. Open the Terminal.
  2. Clone the repository by entering $ git clone https://github.com/shsarv/UNPLUG-THE-PLAYER.git .
  3. Ensure that Python3 and pip are installed on the system.
  4. change the diectory to repository name using $ cd [Repository name].
  5. Create a virtualenv by executing the following command: virtualenv mygame.
  6. Activate the mygame virtual environment by executing the follwing command: source env/bin/activate.
  7. Enter the cloned repository directory and execute pip install -r requirements.txt.
  8. Now, execute the following command: flask run and it will point to the localhost server with the port 5000.
  9. Enter the IP Address: http://localhost:5000 on a web browser and use the application.

๐Ÿ“‚ Structure

The directory contains web sub directories and a sub directory for hosting model and other scripts:

  1. app.py The file which contains all the main backend operations of the website and used to run the flask server locally.

  2. Procfile for setting up heroku.

  3. requirements.txt contains all the dependencies.

  4. templates contains the html file.

  5. static contains the css,javascript files and images.

  6. notebook contains all the jupyter notebooks and model development.

  7. Resources.zip contains all the report and other resources in form of compressed file.

Dependencies

The following dependencies can be found in requirements.txt:

  1. scikit-learn
  2. Flask
  3. pandas
  4. numpy
  5. scikit-learn
  6. gunicorn
  7. scipy

System architecture: How does this work? ๐Ÿ”ง

For better understanding, flow of the project is as follows:

Determine the data set Understanding
Load the data
Analyse the data
Data pre-processing
Define the function to Pairwise distances between observations in n-dimensional space.
selecting 6 similar elements from the data randomly.
choose 5 attribute of selected element as a hint for end user

if user unable to choose the right player, window gives alert.

The app.py compares the dataset every time it executes. 

License

MIT License

Contributors


Sarvesh Kumar Sharma

๐Ÿ–‹ ๐Ÿ“–๐Ÿ’ป

Satyam Kumar jha

๐Ÿ’ป

Sachi Tripathi

๐Ÿ’ป

Jeevesh Gangwar

๐Ÿ’ป

Ashutosh Tripathi

๐Ÿ’ป

unplug-the-player's People

Contributors

sachi42 avatar shsarv avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

unplug-the-player's Issues

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.