Skip to content

Commit 45ac659

Browse files
authored
Update tools.js
1 parent b3d48e1 commit 45ac659

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tetris/js/tools.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
n random_color()
2+
function random_color()
33
{
44
var alea = get_alea(0,8);
55
if (alea == 1)
@@ -20,7 +20,7 @@ n random_color()
2020
return("color8");
2121
}
2222

23-
functiondraw_title(nb_piece)
23+
function draw_title(nb_piece)
2424
{
2525
var nb_piece_on_line = nb _piece / 5;
2626
var pieces = document.getElementsByClassName('relative_piece');
@@ -52,3 +52,4 @@ function draw_background_title()
5252
//
5353
// draw_background_title();
5454
// }
55+
}

0 commit comments

Comments
 (0)