diff --git a/src/App.vue b/src/App.vue index e7c3b6a..3c14508 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,7 +27,7 @@ matrix: [ "AA", "BB", "CC", "DD", "AA", "BB", - "CC", "DD", "AA", + "CC", "DD", "DD", ], sequences: [ ["AA", "CC", "DD"], diff --git a/src/components/Matrix.vue b/src/components/Matrix.vue index 823243c..f201c89 100644 --- a/src/components/Matrix.vue +++ b/src/components/Matrix.vue @@ -2,34 +2,84 @@

Code-Matrix

-
- {{matrix[(j - 1)*size + (i - 1)]}} +
+ {{game.getCell(j-1, i-1).value}}