Skip to content

Commit

Permalink
Maintenance Changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Spandan-Bhattacharya committed Feb 23, 2024
1 parent 83ae192 commit 70b950e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 63 deletions.
91 changes: 31 additions & 60 deletions html_files/sudoku_game_4x4.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,17 @@
<html lang="en">

<head>
<<<<<<<<< Temporary merge branch 1

<meta charset="UTF-8">
<meta name="viewreport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="../css_files/sudocu_game_4x4.css">
<title>4x4 Sudoku Solver</title>
<script src="https://kit.fontawesome.com/b9199edbdd.js" crossorigin="anonymous"></script>
=========
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="../css_files/sudocu_game_4x4.css">
<title>4x4 Sudoku Solver</title>
>>>>>>>>> Temporary merge branch 2


</head>

<body background="../assets/bg.webp">
<<<<<<<<< Temporary merge branch 1
<nav class="navbar">
<div class="image">
<img src="../assets/bodylogo.png" alt="loading">
Expand All @@ -33,32 +27,41 @@
</ul>
</div>
</nav>
<h1 class="head">Sudoku Solver </h1>


<h1>Sudoku Solver </h1>
<div class="info">
<label for="size">Choose a difficulty:</label>
<select id="size" name="size" onchange="changeDifficulty(value)">
<option value="0" selected>Easy</option>
<option value="1">Medium</option>
<option value="2">Hard</option>
</select>
<div class="lives-container">
<span id="lives">Lives: 3</span>
</div>
</div>
<div id="choose-size">
<label for="size">Difficulty:</label><br>
<select id="size" name="size" onchange="changeDifficulty(value)">
<option value="0" selected>Easy</option>
<option value="1">Medium</option>
<option value="2">Hard</option>
</select>
</div>

<div id="timer-container">
Time Remaining <br><span id="timer">10:00</span>
</div>

<div class="lives-container">
<span id="lives">Lives: <span id="hearts"><span id="h-1">❤️</span><span id="h-2">❤️</span><span
id="h-3">❤️</span></span></span>
</div>
</div>
<div class="sudoku-container">
<table>
<tbody id="sudoku-grid"></tbody>
<!--the grid wil be dynamically generated by JavaScript-->
<table>
<tbody id="sudoku-grid"></tbody>
<!--the grid wil be dynamically generated by JavaScript-->


</table>
</table>
</div>
<div>
<button id="solve-btn" class="btn-s">Solve Puzzle</button>
<button id="resetButton" class="btn-s">Reset</button>
<button id="solve-btn" class="btn-s">Solve Puzzle</button>
<button id="resetButton" class="btn-s">Reset</button>
</div>
<button class="backHome"><a href="../index.html">Back To Home</a></button>
<script src="../javascript/sudocu_game_4x4.js"></script>
<div class="footer-container">
<div class="foot-head">
<h2>Solve it!</h2>
Expand All @@ -83,42 +86,10 @@ <h3>Social Links</h3>
<a href="https://www.linkedin.com/in/spandan-bhattacharya-02509b227"><i class="fa-brands fa-linkedin"
style="font-size: 1.25em; margin: 2px"></i></a>
</div>
=========
<h1>Sudoku Solver </h1>
<div class="info">
<div id="choose-size">
<label for="size">Difficulty:</label><br>
<select id="size" name="size" onchange="changeDifficulty(value)">
<option value="0" selected>Easy</option>
<option value="1">Medium</option>
<option value="2">Hard</option>
</select>
</div>

<div id="timer-container">
Time Remaining <br><span id="timer">10:00</span>
</div>

<div class="lives-container">
<span id="lives">Lives: <span id="hearts"><span id="h-1">❤️</span><span id="h-2">❤️</span><span
id="h-3">❤️</span></span></span>
</div>
</div>
<div class="sudoku-container">
<table>
<tbody id="sudoku-grid"></tbody>
<!--the grid wil be dynamically generated by JavaScript-->


</table>
</div>
<div>
<button id="solve-btn" class="btn-s">Solve Puzzle</button>
<button id="resetButton" class="btn-s">Reset</button>
</div>
<button class="backHome"><a href="../index.html">Back To Home</a></button>

<script src="../javascript/sudocu_game_4x4.js"></script>
>>>>>>>>> Temporary merge branch 2

</body>

</html>
9 changes: 6 additions & 3 deletions javascript/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ const availableKeywords = [
'Tower of Hanoi',
'8 Puzzle Solver',
'N Queen Solver',

'Bingo Game'

'Sorting Visualizer',

'Sudoku Game: 4x4',
'Sudoku Game: 6x6',
'Sudoku Game: 8x8',
'Sudoku Game: 9x9',
'Simon Game',
'Bingo Game',
'Checker Game',
'8 Puzzle Game',
'Connect 4 Game',
Expand All @@ -30,6 +29,10 @@ const availableKeywords = [
'Tetris',
'UNO',
'Word Guessing',
'Rubik\'s Cube',
'Ping Pong',
'Memory Card Game',
'Block Buster'


];
Expand Down

0 comments on commit 70b950e

Please sign in to comment.