File tree 5 files changed +22
-12
lines changed
5 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ Unchanged from normal Cubically
165
165
| 5_ | ` P ` | ` Q ` | ` R ` | ` S ` | ` T ` | ` U ` | ` V ` | ` W ` | ` X ` | ` Y ` | ` Z ` | ` [ ` | ` \ ` | ` ] ` | ` ^ ` | ` _ ` |
166
166
| 6_ | `` ` `` | ` a ` | ` b ` | ` c ` | ` d ` | ` e ` | ` f ` | ` g ` | ` h ` | ` i ` | ` j ` | ` k ` | ` l ` | ` m ` | ` n ` | ` o ` |
167
167
| 7_ | ` p ` | ` q ` | ` r ` | ` s ` | ` t ` | ` u ` | ` v ` | ` w ` | ` x ` | ` y ` | ` z ` | ` { ` | ` \| ` | ` } ` | ` ~ ` | |
168
- | 8_ | ` ₀ ` | ` ₁ ` | ` ₂ ` | ` ₃ ` | ` ₄ ` | ` ₅ ` | ` ₆ ` | ` ₇ ` | ` ₈ ` | ` ₉ ` | ` × ` | ` ÷ ` | ` ⁿ ` | ` √ ` | ` ↕ ` | ` ↔ ` |
168
+ | 8_ | ` ₀ ` | ` ₁ ` | ` ₂ ` | ` ₃ ` | ` ₄ ` | ` ₅ ` | ` ₆ ` | ` ₇ ` | ` ₈ ` | ` ₉ ` | ` ⁿ ` | ` √ ` | ` ṡ ` | ` ċ ` | ` Ṡ ` | ` Ċ ` |
169
169
| 9_ | ` ⁰ ` | ` ¹ ` | ` ² ` | ` ³ ` | ` ⁴ ` | ` ⁵ ` | ` ⁶ ` | ` ⁷ ` | ` ⁸ ` | ` ⁹ ` | ` ¬ ` | ` « ` | ` » ` | | | |
170
170
| A_ | ` 𝟘 ` | ` 𝟙 ` | ` 𝟚 ` | ` 𝟛 ` | ` 𝟜 ` | ` 𝟝 ` | ` 𝟞 ` | ` 𝟟 ` | ` 𝟠 ` | ` 𝟡 ` | | | | | | |
171
171
| B_ | ` ½ ` | | | | | | | | | | | | | | | |
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function Cube:index(x, y)
32
32
end
33
33
34
34
function Cube :solved ()
35
- return self :value (0 ) == 0 and self :value (1 ) == 18 and self :value (2 ) == 27
35
+ return self :value (0 ) == 0 and self :value (1 ) == self . size ^ 2 and self :value (2 ) == 2 * self . size ^ 2
36
36
end
37
37
38
38
local function rotateFace (cube , face )
Original file line number Diff line number Diff line change @@ -51,12 +51,6 @@ function C:exec(program)
51
51
self .didCommand = true
52
52
self .doElse = false
53
53
end
54
- elseif self .codepage :faceindex (b ) then
55
- -- Face-valued index selection
56
- error (" Unexpected superscript" )
57
- elseif self .codepage :constindex (b ) then
58
- -- Constant index selection
59
- error (" Unexpected subscript" )
60
54
elseif self .conditionFailed then
61
55
-- Command being skipped by a conditional
62
56
@@ -168,7 +162,7 @@ function C:value(n, index)
168
162
elseif n == 7 then
169
163
return self .input
170
164
elseif n == 8 then
171
- return self .cube :solved () and 1 or 0
165
+ return self .cube :solved () and 0 or 1
172
166
else
173
167
return 0
174
168
end
@@ -295,7 +289,7 @@ C.commands = {
295
289
[' )' ] = function (self , n )
296
290
local label = table.remove (self .loops )
297
291
if label then
298
- if (not n or n ~= 0 ) and (not label .args or table .iterator (label .args ). any (function (arg ) return self :value (arg ) ~= 0 end )) then
292
+ if (not n or n ~= 0 ) and (not label .args or table .iterator (label .args ): any (function (arg ) return self :value (arg ) ~= 0 end )) then
299
293
-- Jump to the `(`
300
294
self .ptr = label .ptr
301
295
return
Original file line number Diff line number Diff line change 1
- 22
1
+ 2
Original file line number Diff line number Diff line change 1
- R'DR$:7+0"6
1
+ ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉
2
+ 𝟘 𝟙 𝟚 𝟛 𝟜 𝟝 𝟞 𝟟 𝟠 𝟡
3
+ ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹
4
+ UR'UF'D2
5
+ ■:𝟘
6
+
7
+ $:7(UR'UF'D𝟚-𝟙)6
8
+ (
9
+ D𝟚FU'RU'
10
+ :7(𝟛₂-𝟙)6
11
+ :7(𝟛₅-𝟙)6
12
+ :7(𝟛₂-𝟙)6
13
+ :7(𝟛₅-𝟙)6
14
+ 𝟙₀
15
+ "8
16
+ #
17
+ )8
You can’t perform that action at this time.
0 commit comments