In order to describe cube state we need to introduce orientation concept of pieces. Edge is in correct orientation if we can find sequence of moves that allows to insert one in correct place but not using two defined faces which are opposed to each other. Choice of opposed faces is unrestricted but remember that

# Category: Rubik’s Cube

## Project Cube Solver #06 – Theory of cube implementation

In order to implement cube representation I will need to divide cube to few separate elements. Cube has twelve edges (two-color pieces) and eight corners (three-color pieces). Edges that we can specify: UF UL UB UR DF DL DB DR FL BL BR FR and this is possible corners: UFR UFL UBL UBR DFR DFL

Continue reading Project Cube Solver #06 – Theory of cube implementation

## Project Cube Solver #05 – Face turn metrics – code and tests

I hope you have read my previous post. If no, it will be better if you do it before because code that we will write today will be better understood for you then. Article is also available in Polish version. Tests for HTM metric So, let’s start from HTM metric which is really simple metric.

Continue reading Project Cube Solver #05 – Face turn metrics – code and tests

## Project Cube Solver #04 – Faces turn metrics

After we created a scrambles generator, our next step is to create the classes responsible for measuring the length of scrambles. There are mainly two metrics: Quarter Turn Metric (QTM) Half Turn Metric (HTM) Half Turn Metric (HTM) – also called Face Turn Metric (FTM), is a metric for 3×3 cubes, where every movement of

Continue reading Project Cube Solver #04 – Faces turn metrics

## Project Cube Solver #03 – Scrambles generating– tests and first lines of code

In my previous article i described theory which is necessary to write generator of scrambling algorithms. Now it’s time to begin first lines of code. If you didn’t read mentioned theory, it will be the best option if you do it before because it will help you to understand code which will be written today.

Continue reading Project Cube Solver #03 – Scrambles generating– tests and first lines of code

## Projekt Cube Solver #02 – Scrambles generating- theory

Today I will focus on theory of scrambling algorithms which will be needed during writing generator of scramble algorithms. Generator will be implementing in future article which will appear soon. Article also available in Polish version. Notation description There are few notation which are used to write cube moves down. The one which is the

Continue reading Projekt Cube Solver #02 – Scrambles generating- theory

## Project Cube Solver #01 – project goal, scope, anticipated problems and technologies

Today I’m going to write something more about my project which is for searching solution of scrambled Rubik’s Cube. Project is available on github so you can easily follow my progress: https://github.com/KonradPrzetacznik/cube-solver I invite you to reading 🙂 Project goal Project goal is to write program which will be able to find solution of scrambled

## Get Noticed 2017 competition and my project

I belive that some of you know, today is that day when Get Noticed 2017 has been starting and I’ve been decided to take part in one. You can read more details here: http://devstyle.pl/daj-sie-poznac/. The competition consists of two conditions: you need to develop open source project which should be stored on github you need

Continue reading Get Noticed 2017 competition and my project