Skip to content

bhavya092/Dyce-and-Dyne

Repository files navigation

Dyce & Dyne

With an increasing number of parcel deliveries, there is always a need to find a quicker path with lesser time, cost and number of delivery executives. Taking this into consideration,Dyce&Dyne is a modern-day food ordering website which introduces games for earning rewards instead of traditional promo code mechanisms.

A user can play games and earn rewards in the ratio of their respective score. The games like 8 Puzzle and Connect4 are to be played against or judged by the AI. The collected points are stored in the Dyce & Dyne wallet which can be later redeemed for discounts/cashback. Algorithms like minimax with alpha-beta pruning, A* are used for these games. Additionally, a solution for the age old Travelling Salesman Problem using genetic algorithms which is responsible for the efficient multi spot single route delivery of parcels is implemented. With the help of Mapbox APIs, optimal route for delivery considering real time traffic and navigation is shown. Razorpay API is used for easy online transactions along with cookies which allow the user to play each game for a maximum of three times a day.

Link to the deployed version : http://dyce-dyne.herokuapp.com/

Building locally

  1. Clone the repository locally:

    git clone https://github.com/bhavya092/Dyce-and-Dyne.git
    
  2. Run the following command to set up all necessary requirements:

    pip install -r requirements.txt
    
  3. Run the following command to deploy the web app on your localhost:

    nodemon app.js
    

Tools and Technologies




Website Flow

Website Flow




Database Schema

Website Flow




Contributing

There is a lot to do so contributions are really appreciated! This is a great project for early stage developers to work with.

To begin it is recommended starting with issues labelled good first issue.

How to get started:

  1. Fork the Dyce-and-Dyne repo.
  2. Create a new branch in you current repo from the 'master' branch with issue label.
  3. 'Check out' the code with Git or GitHub Desktop
  4. Check contributing.md
  5. Push commits and create a Pull Request (PR) to Dyce-and-Dyne

Screenshots

Landing Page

Landing Page

Login Page

Login

Profile Page

Profile



Games Page

Games

  • Sliding Puzzle:

Games

  • Connect Four:

Games



Cart Page

  • Cart: Cart

Deliver Page

  • Admin Panel: TSP

  • Deliver Panel: TSP

Collaborators

Darsh Bavishi : https://github.com/DarshBavishi

Priya Nagda : https://github.com/pri1311

Jainam Dharod : https://github.com/Jainam-Dharod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published