Skip to content

Commit

Permalink
A few minor fixes to RU L4
Browse files Browse the repository at this point in the history
  • Loading branch information
enlight committed Mar 2, 2018
1 parent 8477fb4 commit 4683f2c
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 13 deletions.
8 changes: 4 additions & 4 deletions fr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import l3_ch11 from './3/11-savinggasstorage.md'
import l3_ch12 from './3/12-forloops.md'
import l3_ch13 from './3/13-wrappingitup.md'
import l3_complete from './3/14-lessoncomplete.md'

/*
// lesson4
import l4_overview from './4/00-overview.md'
import l4_payable from './4/payable.md'
Expand All @@ -69,7 +69,7 @@ import l4_ch8 from './4/battle-08.md'
import l4_ch9 from './4/battle-09.md'
import l4_ch10 from './4/wrappingitup.md'
import l4_complete from './4/lessoncomplete.md'

*/
// chapterList is an ordered array of chapters. The order represents the order of the chapters.
// chapter index will be 1-based and not zero-based. First chapter is 1

Expand Down Expand Up @@ -126,7 +126,7 @@ export default {
l3_ch12,
l3_ch13,
l3_complete
],
]/*,
4: [
l4_overview,
l4_payable,
Expand All @@ -142,5 +142,5 @@ export default {
l4_ch9,
l4_ch10,
l4_complete
]
]*/
}
2 changes: 1 addition & 1 deletion ru/4/00-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ roadmap: roadmap3.png

Битвы зомби — развлечение не для слабонервных...

В этом уроке мы объединим все изученные в предыдущих главах концепции и создадим функцию зомби-битв. А еще разберемся с функциями `payable` и узнаем, как наделить DApps способностью получать деньги от игроков.
В этом уроке мы объединим все изученные в предыдущих главах концепции и создадим функцию зомби-битв. А еще разберемся с функциями **payable** и узнаем, как наделить DApps способностью получать деньги от игроков.
4 changes: 4 additions & 0 deletions ru/4/battle-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ material:
language: sol
startingCode:
"zombieattack.sol": |
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down Expand Up @@ -203,6 +205,8 @@ material:
}
answer: >
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down
4 changes: 4 additions & 0 deletions ru/4/battle-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ material:
language: sol
startingCode:
"zombieattack.sol": |
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down Expand Up @@ -211,6 +213,8 @@ material:
}
answer: >
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down
4 changes: 4 additions & 0 deletions ru/4/battle-06.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ material:
language: sol
startingCode:
"zombieattack.sol": |
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down Expand Up @@ -211,6 +213,8 @@ material:
}
answer: >
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down
4 changes: 4 additions & 0 deletions ru/4/battle-08.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ material:
language: sol
startingCode:
"zombieattack.sol": |
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down Expand Up @@ -213,6 +215,8 @@ material:
}
answer: >
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down
4 changes: 4 additions & 0 deletions ru/4/battle-09.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ material:
language: sol
startingCode:
"zombieattack.sol": |
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down Expand Up @@ -218,6 +220,8 @@ material:
}
answer: >
pragma solidity ^0.4.19;
import "./zombiehelper.sol";
contract ZombieBattle is ZombieHelper {
Expand Down
38 changes: 34 additions & 4 deletions ru/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import wrappingitup from './2/14-wrappingitup.md'
import lesson2complete from './2/15-lessoncomplete.md'

// lesson3

import l3_overview from './3/00-overview.md'
import l3_ch1 from './3/01-externaldependencies.md'
import l3_ch2 from './3/02-ownable.md'
Expand All @@ -54,8 +53,23 @@ import l3_ch11 from './3/11-savinggasstorage.md'
import l3_ch12 from './3/12-forloops.md'
import l3_ch13 from './3/13-wrappingitup.md'
import l3_complete from './3/14-lessoncomplete.md'


/*
// lesson4
import l4_overview from './4/00-overview.md'
import l4_payable from './4/payable.md'
import l4_withdraw from './4/withdraw.md'
import l4_ch1 from './4/battle-01.md'
import l4_ch2 from './4/battle-02.md'
import l4_ch3 from './4/battle-03.md'
import l4_ch4 from './4/battle-04.md'
import l4_ch5 from './4/battle-05.md'
import l4_ch6 from './4/battle-06.md'
import l4_ch7 from './4/battle-07.md'
import l4_ch8 from './4/battle-08.md'
import l4_ch9 from './4/battle-09.md'
import l4_ch10 from './4/wrappingitup.md'
import l4_complete from './4/lessoncomplete.md'
*/
// chapterList is an ordered array of chapters. The order represents the order of the chapters.
// chapter index will be 1-based and not zero-based. First chapter is 1

Expand Down Expand Up @@ -112,5 +126,21 @@ export default {
l3_ch12,
l3_ch13,
l3_complete
]
]/*,
4: [
l4_overview,
l4_payable,
l4_withdraw,
l4_ch1,
l4_ch2,
l4_ch3,
l4_ch4,
l4_ch5,
l4_ch6,
l4_ch7,
l4_ch8,
l4_ch9,
l4_ch10,
l4_complete
]*/
}
8 changes: 4 additions & 4 deletions tr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import puttingittogether from './1/puttingittogether.md'
import events from './1/events.md'
import web3js from './1/web3js.md'
import lessoncomplete from './1/lessoncomplete.md'

/*
// lesson2
import l2_overview from './2/00-overview.md'
import overview from './2/1-overview.md'
Expand Down Expand Up @@ -69,7 +69,7 @@ import l4_ch8 from './4/battle-08.md'
import l4_ch9 from './4/battle-09.md'
import l4_ch10 from './4/wrappingitup.md'
import l4_complete from './4/lessoncomplete.md'

*/
// chapterList is an ordered array of chapters. The order represents the order of the chapters.
// chapter index will be 1-based and not zero-based. First chapter is 1

Expand All @@ -91,7 +91,7 @@ export default {
events,
web3js,
lessoncomplete
],
]/*,
2: [
l2_overview,
overview,
Expand Down Expand Up @@ -142,5 +142,5 @@ export default {
l4_ch9,
l4_ch10,
l4_complete
]
]*/
}

0 comments on commit 4683f2c

Please sign in to comment.