Skip to content

Commit

Permalink
Clean up code - remove font-family
Browse files Browse the repository at this point in the history
  • Loading branch information
c8in4 committed Jun 5, 2024
1 parent c776f00 commit 3e531d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
5 changes: 2 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ html {
body {
overscroll-behavior: none;
position: fixed;
height: 100dvh;
width: 100dvw;
background-color: var(--bg-primary);
color: var(--clr-primary);
font-size: 1.6rem;
font-family: "OpenSans", Arial, Helvetica, sans-serif;
height: 100dvh;
width: 100dvw;
margin: 0;
}

Expand Down
11 changes: 0 additions & 11 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
/*
to dos:
- responsive canvas size
- kind of solved (css - canvas - max-width)
- let user change gamespeed
- let user change cols and rows
- timer for "competetive" playing
*/

// should help with iphone scrolling:
window.addEventListener("scroll", (e) => {
e.preventDefault();
Expand Down Expand Up @@ -214,9 +205,7 @@ function keyDown(e) {
}
}


//get touch input

let xDown = null;
let yDown = null;

Expand Down

0 comments on commit 3e531d8

Please sign in to comment.