Skip to content

Commit

Permalink
added third and fourht look algs
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthrootz committed Feb 29, 2020
1 parent 1d6f86f commit 6373224
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 3 deletions.
Binary file modified src/assets/algorithms/h-last.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/algorithms/headlights-back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/algorithms/no-headlights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/algorithms/ua.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/algorithms/ub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/algorithms/z.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions src/components/AlgorithmsComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,40 @@ export default class AlgorithmsComponent extends Vue {
},
];

private intermediateAlgorithmsThird: object[] = [
{
algId: 11,
name: 'headlights-back',
steps: '.x\'.(R\'DR\').U2\'.(RD\'R\').U2\'R2F\'x.',
},
{
algId: 12,
name: 'no-headlights',
steps: '.FRU\'R\'U\'RUR\'F\'.(RUR\'U\').(R\'FRF\').',
},
];

private intermediateAlgorithmsFourth: object[] = [
{
algId: 13,
name: 'ua',
steps: '.M2\'UMU2M\'UM2\'.',
},
{
algId: 14,
name: 'ub',
steps: '.M2\'U\'MU2\'M\'U\'M2\'.',
},
{
algId: 15,
name: 'z',
steps: '.(M2\'U\'M2\'U\').M\'.(U2M2\'U2).M\'.',
},
{
algId: 16,
name: 'h-last',
steps: '.(M2\'UM2\').U2.(M2\'UM2\').',
},
];

}
22 changes: 19 additions & 3 deletions src/components/algorithms-component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<b-tabs content-class="mt-3" justified>
<b-tab title="BEGINNER"> </b-tab>
<b-tab title="INTERMEDIATE" active>
<b-tab title="4-Look Last Layer" active>
<b-container fluid>
<h1>1st look</h1>
<b-row>
Expand All @@ -19,6 +18,23 @@ <h1>2nd look</h1>
:steps="alg.steps" />
</b-row>
</b-container>
<b-container fluid>
<h1>3rd look</h1>
<b-row>
<algorithm-component
v-for="alg in intermediateAlgorithmsThird"
:algName="alg.name"
:steps="alg.steps" />
</b-row>
</b-container>
<b-container fluid>
<h1>4th look</h1>
<b-row>
<algorithm-component
v-for="alg in intermediateAlgorithmsFourth"
:algName="alg.name"
:steps="alg.steps" />
</b-row>
</b-container>
</b-tab>
<b-tab title="PRO"> </b-tab>
</b-tabs>

0 comments on commit 6373224

Please sign in to comment.