Skip to content

Commit

Permalink
Fixed Timer
Browse files Browse the repository at this point in the history
  • Loading branch information
ANON192 committed Mar 30, 2020
1 parent 73ad774 commit 5b255a5
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 37 deletions.
72 changes: 38 additions & 34 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/java/com/group17/sudoku/LakeheadSudoku.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class LakeheadSudoku implements Serializable {

// private static final long serialVersionUID = 1L;
public String data = "0";
public String data = "1";

public String getData() {
return data;
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/index.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@

if(correct == 81) {
stopTimer();
alert("You have solved the Sudoku correctly! Your time was: " + h1);
alert("You have solved the Sudoku correctly! Your time was: " + h1.textContent);
} else if(correct == 80) {
alert("There is 1 mistake in your solution of the Sudoku");
} else{
Expand Down
2 changes: 1 addition & 1 deletion target/sudoku-1.0/index.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@

if(correct == 81) {
stopTimer();
alert("You have solved the Sudoku correctly! Your time was: " + h1);
alert("You have solved the Sudoku correctly! Your time was: " + h1.textContent);
} else if(correct == 80) {
alert("There is 1 mistake in your solution of the Sudoku");
} else{
Expand Down

0 comments on commit 5b255a5

Please sign in to comment.