GithubHelp home page GithubHelp logo

nancy1603 / onlinetreasurehunt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nirvikagarwal/onlinetreasurehunt

0.0 0.0 0.0 17.17 MB

Python 10.06% CSS 34.86% JavaScript 42.48% HTML 11.76% Shell 0.06% SCSS 0.78%

onlinetreasurehunt's Introduction

OnlineTreasureHunt

The app allows you to play an OnlineTreasureHunt consisting of different levels.Players can login either using their Google or Facebook accounts. Each level has a question and hints along with it like visual hints, audio hints, video hints .Each question would fetch you 10 points. Once the player answers the question the leaderboard is updated accordingly.

Setting up the Project

  1. Create a virtual environment .

    mkdir project

    cd project

    python3 -m venv venv
    
  2. Clone the project in the project directory.

    git clone https://github.com/nirvikagarwal/OnlineTreasureHunt.git

  3. Activate the virtual environemnt.

    For Linux/Mac OSX

    source venv/bin/activate
    
    

    For Windows

    .\Scripts\activate
    
    
  4. Install the requirements.

    cd OnlineTreasureHunt
    pip install -r requirements.txt
    
    
  5. Go to the path venv/lib/django/contrib/auth/urls.py.

    after all the import statements add app_name='auth' on the next line

  6. Set the environment variables

    cp .env.example .env
    

    Add the corresponding values in the .env file and save it

  7. Run the Migrations

    python manage.py makemigrations
    
    python manage.py migrate
    
    
  8. Create Superuser

    python manage.py createsuperuser
    
  9. Run the development server

    python manage.py runserver
    
    
  10. Head over to http://localhost:8000/admin and login as super user

  11. Add config and some levels to begin with.

  12. Now you can login with your Google / Facebook account and enjoy the game

image

onlinetreasurehunt's People

Contributors

nirvikagarwal avatar jayjeetatgithub avatar harshith331 avatar yashmaroo avatar himanshu272 avatar kgulshan827 avatar dependabot[bot] 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.