Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Commit 684c35b

Browse files
authored
Merge pull request #101 from masakudamatsu/patch-1
Remove the redundant line of code from NOC_I_03_RandomWalkTendsToRight
2 parents 125922c + 733ecbb commit 684c35b

File tree

1 file changed

+0
-1
lines changed
  • chp00_introduction/NOC_I_03_RandomWalkTendsToRight

1 file changed

+0
-1
lines changed

chp00_introduction/NOC_I_03_RandomWalkTendsToRight/sketch.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class Walker{
2727
};
2828

2929
step(){
30-
let choice = floor(random(4));
3130
let r = random(1);
3231
// A 40% of moving to the right!
3332
if (r < 0.4) {

0 commit comments

Comments
 (0)