Skip to content

Commit

Permalink
Update sketch.js
Browse files Browse the repository at this point in the history
  • Loading branch information
somanlin2650 authored Apr 5, 2024
1 parent c5def1c commit 52db5b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function setup() {
all_img.push(loadImage('assets/board'+i+'.jpg'));
}

input_r = createInput('8');
input_r = createInput('6');
input_r.position(board_width, 40);
input_r.size(40, input_r.heigh);

Expand Down Expand Up @@ -83,7 +83,7 @@ function setup() {
button_change.style('background-color', col);
button_change.mousePressed(change_sides);

button_back = createButton('Redo');
button_back = createButton('Uedo');
button_back.size(80, 40);
button_back.position(board_width*5/13-40, board_height+button_offset);
button_back.style("font-size", btn_font_size);
Expand Down Expand Up @@ -304,4 +304,4 @@ function check_winner(board, player, push){
return 2
}
return -1;
}
}

0 comments on commit 52db5b7

Please sign in to comment.