This website works better with JavaScript.
Home
Explore
Help
Sign In
kornerr
/
MMMemory
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
d
main
Михаил Капелько
1 year ago
parent
6fb992ed0b
commit
b7a3be5685
3 changed files
with
12 additions
and
12 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
BIN
iOS/app/MMMemory.xcodeproj/project.xcworkspace/xcuserdata/mk.xcuserdatad/UserInterfaceState.xcuserstate
+11
-0
shared/model.web.js
+1
-12
web/memory.html
BIN
iOS/app/MMMemory.xcodeproj/project.xcworkspace/xcuserdata/mk.xcuserdatad/UserInterfaceState.xcuserstate
View File
+ 11
- 0
shared/model.web.js
View File
@@ -0,0 +1,11 @@
function memorySide() {
return 50
}
function memorySpace() {
return 20
}
function memoryGap() {
return memorySide() + memorySpace()
}
+ 1
- 12
web/memory.html
View File
@@ -5,19 +5,8 @@
</head>
<body>
</body>
<script src="../shared/model.web.js"></script>
<script>
function memorySide() {
return 50
}
function memorySpace() {
return 20
}
function memoryGap() {
return memorySide() + memorySpace()
}
function memoryItemPositions(M) {
var pos = []
for (var i = 0; i < M.itemsCount; i++) {
Write
Preview
Loading…
Cancel
Save