Skip to content

Commit

Permalink
sound set done
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-hrr-harry committed Mar 29, 2023
1 parent 48f9de5 commit 09e2a58
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 1 deletion.
File renamed without changes
Binary file added crrt_fill_click.mpeg
Binary file not shown.
Binary file added hxo_title_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Horror XO</title>
<link rel="icon" href="Horror_xo.png" type = "image/png">
<link rel="icon" href="hxo_title_logo.png" type = "image/png">

<link rel="stylesheet" href="styles.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
Expand Down
2 changes: 2 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let mat=[["","",""],
var flag=0, ctr=0, win=0;
const notor = document.getElementById("notator");
const alertSound = new Audio("warning_sound.mpeg");
const crrtClick = new Audio("crrt_fill_click.mpeg");

function xORo(event){

Expand All @@ -49,6 +50,7 @@ function xORo(event){


if(cell.innerHTML==""){
crrtClick.play();
if(flag==0){
flag=1;
ctr++;
Expand Down

0 comments on commit 09e2a58

Please sign in to comment.