Giter Site home page Giter Site logo

macros-1.0-rubiks-cube-solver's Introduction

Rubik's Cube Solver

Systems, Parallel Computing

Mentor: @harshagrwl (+91 9582885426)

Problem Statement

Given an arbitrary scrambled Rubik’s Cube, you need to implement a program that determines and finds the sequence with the fewest number of moves required to solve it.

Description

The Rubik’s cube is a difficult puzzle because the decision tree for it rapidly increases in breadth. Consider a standard 3*3 Rubik's Cube. Basically we can perform 12 Quarter Turns (90 Degree turns) on any arbitary state of the cube. It is known and has been proven that for this definition of a turn, the maximum number of moves required to solve a 3x3 cube is 26 moves. This is also known as God's Number. Therefore we can say that we have 26 states and 12 moves for each, this implies we need to compute 26¹² states in worst case to get our solution.

This is really time consuming and requires high computational power. We need to come up with a solution where we can try to divide our exploration task and let them run at the same time parallely. Here the Parallel Computing comes into picture.

You have to implement the Rubik's Cube solving algorithm using Parallel Processing. You are free to use any framework (OpenMP, MPI, CUDA).

Useful resources:

Bonus Task

If we carefully observe, we don't actually need to visit all the different states and explore them completely. Try to come up with an approach where we can try to reduce our search space by eliminating some of the states and thereby not exploring them. This can enhance and optimise our solution.

Tips

  • Document at least the following in your README - Description, Framwork Used, Setup Instructions, Screenshots (if any).
  • The emphasis of the task is to understand and implement Parallel Computing concepts: Prioritize on learning the Parallel Computing part even if you are not able to come up with any optimized Algorithm.
  • The Bonus task is optional and should be undertaken if you have completed the main task. However it is highly recommended to attempt both.

macros-1.0-rubiks-cube-solver's People

Contributors

apoorva-mk avatar harshagrwl 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.