This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function fillModal(timerString){ | |
| var modalTimerText = document.getElementById("modalTimer"); | |
| modalTimerText.innerHTML = timerString; | |
| displayModal(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function fillModal(timerString){ | |
| var modalTimerText = document.getElementById("modalTimer"); | |
| modalTimerText.innerHTML = timerString; | |
| displayModal(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function displayModal(){ | |
| var modal = document.getElementById("modal"); | |
| var modalContent = document.getElementById("modalContent"); | |
| var modalHighScores = document.getElementById("modalHighScores"); | |
| modal.style.display = "block"; | |
| modalContent.style.display = "block"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| require 'pry' | |
| require 'CSV' | |
| require_relative 'csvMaker.rb' | |
| get("/"){ | |
| erb :index | |
| } | |
| get("/puzzle01"){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| get("/"){ | |
| erb :index | |
| } | |
| get("/puzzle01"){ | |
| erb :pic1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| get("/"){ | |
| erb :index | |
| } | |
| get("/puzzle01"){ | |
| erb :pic1 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| get("/"){ | |
| erb :index | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def validateXY(x, y) | |
| intX = x.to_i | |
| intY = y.to_i | |
| if (intX > 380) && (intX < 419) && (intY > 262) && (intY < 302) | |
| return true | |
| else | |
| return false | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| require 'pry' | |
| require 'CSV' | |
| require_relative 'csvMaker.rb' | |
| get("/"){ | |
| erb :index | |
| } | |
| get("/puzzle01score"){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| require 'pry' | |
| require 'CSV' | |
| require_relative 'csvMaker.rb' | |
| get("/"){ | |
| erb :index | |
| } |