Skip to content

Commit

Permalink
Merge pull request #23 from notV3NOM/development
Browse files Browse the repository at this point in the history
DFS Added , Buttons adjusted
  • Loading branch information
notV3NOM authored Nov 26, 2023
2 parents 0c70b92 + 56e8388 commit 078307f
Show file tree
Hide file tree
Showing 8 changed files with 245 additions and 2,886 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.sass-cache
.sass-cache
package-lock.json
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

### TODO

- Add various algorithms / heuristics
- console (ctrl shift p) for advanced commands
- Add peg color highlighting meaning

Expand Down
25 changes: 22 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,39 @@
readonly
></textarea>
<div class="buttonContainer">
<button onclick="ManualMode();" class="button-39" role="button">
<button
onclick="ManualMode();"
class="button-39"
role="button"
id="manualBtn"
>
Start Manual Mode
</button>
<button onclick="RunExperiment(1);" class="button-39" role="button">
<button
onclick="RunExperiment(1);"
class="button-39"
role="button"
id="randomBtn"
>
Start Random Agent
</button>
<button onclick="FullReset();" class="button-39" role="button">
<button onclick="RunDFS();" class="button-39" role="button" id="dfsBtn">
Start DFS
</button>
<button
onclick="FullReset();"
class="button-39"
role="button"
id="resetBtn"
>
Reset
</button>
<button
onclick="UndoMove();"
class="button-39"
role="button"
id="undoBtn"
style="display: none"
>
Undo Move
</button>
Expand Down
15 changes: 10 additions & 5 deletions dist/script.js

Large diffs are not rendered by default.

13 changes: 1 addition & 12 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,6 @@ module.exports = function (grunt) {
},
},
},

// Connect task
connect: {
server: {
options: {
port: 9000,
base: "dist",
livereload: true,
},
},
},
});

// Load grunt plugins
Expand All @@ -97,7 +86,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-contrib-connect");

// Default task
grunt.registerTask("default", ["prod", "connect", "watch"]);
grunt.registerTask("default", ["prod", "watch"]);

// Production task
grunt.registerTask("prod", ["clean", "sass", "uglify", "cssmin", "copy"]);
Expand Down
Loading

0 comments on commit 078307f

Please sign in to comment.