|
@@ -5,19 +5,8 @@ |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
</body> |
|
|
</body> |
|
|
|
|
|
<script src="../shared/model.web.js"></script> |
|
|
<script> |
|
|
<script> |
|
|
function memorySide() { |
|
|
|
|
|
return 50 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function memorySpace() { |
|
|
|
|
|
return 20 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function memoryGap() { |
|
|
|
|
|
return memorySide() + memorySpace() |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function memoryItemPositions(M) { |
|
|
function memoryItemPositions(M) { |
|
|
var pos = [] |
|
|
var pos = [] |
|
|
for (var i = 0; i < M.itemsCount; i++) { |
|
|
for (var i = 0; i < M.itemsCount; i++) { |
|
|