HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pac-Man</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Bungee&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/ca42bbbf84.js" crossorigin="anonymous"></script>
</head>
<body>
<button id="play" onClick="document.getElementById('play').style.display = 'none'; document.getElementById('h2bestScore').style.display = 'block'; document.getElementById('footer').style.display = 'none'; document.getElementById('mobile').style.display = 'none'">Click here to play</button>
<script src="script.js" charset="utf-8"></script>
<img src="https://upload.wikimedia.org/wikipedia/fr/thumb/a/a2/Pac-Man_Logo.svg/langfr-1920px-Pac-Man_Logo.svg.png" alt="Logo Pac-Man" id="logo">
<h2>Score : <span id="score">0</span></h2>
<p id="computer">Use <kbd>←</kbd> <kbd>↑</kbd> <kbd>→</kbd> <kbd>↓</kbd> to play</p>
<p id="mobile">Swipe Up, Down, Left or Right to move Pac-Man</p>
<div class="grid"></div>
<h2 id="h2bestScore" style="display: none">Your best score : <span id="bestScore">0</span></h2>
<footer id="footer">PAC-MAN™ & ©1980 BANDAI NAMCO Entertainment Inc.</footer>
</body>
</html>
body{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: rgba(10,7,67,1.00);
font-family: 'Bungee', cursive;
}
#logo{
width: 700px;
}
h2{
margin: -30px auto 5px auto;
color: rgb(246, 184, 30);
font-size: 28px;
font-weight: lighter;
text-transform: uppercase;
text-shadow: 1.5px 1.5px 0 rgba(239,0,0,1.00);;
}
#computer{
margin-bottom: 35px;
color: rgb(246, 184, 30);
font-size: 20px;
font-weight: lighter;
text-transform: uppercase;
text-shadow: 1px 1px 0 rgba(239,0,0,1.00);
}
#mobile{
display: none;
}
kbd{
font-size: 25px;
padding: 5px;
}
#play{
position: absolute;
margin-top: 80px;
padding: 15px 25px;
color: rgba(10,7,67,1.00);
font-family: 'Bungee', cursive;
font-size: 30px;
letter-spacing: 1px;
text-transform: uppercase;
background-color: rgb(246, 184, 30);
border: 2px solid rgba(239,0,0,1.00);
z-index: 100;
cursor: pointer;
}
.grid{
display: flex;
flex-wrap: wrap;
width: 560px;
height: 560px;
margin-bottom: 80px;
}
.grid div{
width : 20px;
height: 20px;
}
.pac-dot {
background-color: rgba(247,191,80,1.00);
border: 7px solid rgba(10,7,67,1.00);
border-radius: 10px;
box-sizing: border-box;
}
.wall{
background-color: darkblue;
}
/* FRUITS ICON MADE BY SMASHICONS FOR FLATICONS*/
.power-pellet{
content: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE4LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDU2IDU2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1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2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8L3N2Zz4NCg==");
background-color: transparent;
}
/* GHOST ICONS MADE BY SMASHICONS FOR FLATICONS*/
.blinky{
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAyfSURBVHic7dnPy2X3Qcfx73nmSSZm4iRt0so06YRQk4pgGqbRGVoxEGxcWDKxNODWhUW6EKmN3bpykyi6cCFBEFFEKiEpVWwDQhFqApnRlPpjqhirTaw2FI2JaWue57iQkZssIoNDvvfO+/X6Cz5wvvfyPue7DLgMzj9w5vPrOj40ewdc6ZZlPHnq8afum72D3bc3ewAA8NYTAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIGiZPYBLd/4jH7j18ODgwdk7Xm/56WWMO2avgCvdOsZXxlgfnb1j096RI58+9dgXvzp7B5dmf/YALt3h4cF7l7E8PHsH8Nb7n9Dert//4eHBl8YYAmDHuAIAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAA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AAQQIAAIIEAAAE7Z//iR963+wRmw7X5cRYZ68AgMvn2//y/NFz95++c/aOTfvr4d5fzB6xaZk9AAAus6//3m++ZyzLs7N3bHIFAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAATtzx7AleG3fuN3xt+/8M3ZM7baj/3wXeODH/qR2TPYcRee/fL43cf+ZPaMrXbDsWvGJ37hY7NnbD0BwGXxp3/zwnj2O9fOnrHVTl54TgDw//b8Pz4//uhFH2/fzDte/I/xidkjdoBTBABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQt586eWWePYPf92o33jr+85sTsGVvtJ//9/Lj35b+ePYMd91dHT4xfvene2TO22k0Hr4xf+vrjs2dsPV8AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD92QO4Mtz1ra+N7zl4afaMrfbu1765jjGW2TvYbTcevDzufeXC7Blb7djht2dP2AnLubNn1tkjAIC3lisAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABO3PHsCVYR3juWWMl2fv+F/LuGas4/bZM7gCLONvxzq+NXvGResY1y1j3DZ7B7tPAHB5LOvPvP/xpz8/e8ZF5+4/fedYlmdn7+AKcLh+9P2fefpLs2dc9MwDp+8b6/K52TvYfa4AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD9dawPzR6xaVmXe8YyPjx7xzZbx/jKGOujs3ds2ts7cmH2hk3r+toLY9nftrP94bGMe2bv2Grr+MK6rJ+dPeN11tdemD1h097ekQuHBwfbdbaX5WNjHbfP3rHV1vHZdVm/MHvGpmX2gDd65uzpTy5jeXj2jm22LOPJU48/dd/sHVya8/efeWRdxs/P3rHNlnX88qnPPPXJ2Tu4NOfOnnlyjPGjs3dss3WsD939xNOPzN6xyRUAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEPTfmCD610wwIoQAAAAASUVORK5CYII=");
filter: contrast(150%);
border:0;
border-radius: 0 !important;
transform: rotate(0deg) !important;
background-color: transparent !important;
}
.pinky{
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAyfSURBVHic7dnPy2X3Qcfx73nmSSZm4iRt0so06YRQk4pgGqbRGVoxEGxcWDKxNODWhUW6EKmN3bpykyi6cCFBEFFEKiEpVWwDQhFqApnRlPpjqhirTaw2FI2JaWue57iQkZssIoNDvvfO+/X6Cz5wvvfyPue7DLgMzj9w5vPrOj40ewdc6ZZlPHnq8afum72D3bc3ewAA8NYTAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIGiZPYBLd/4jH7j18ODgwdk7Xm/56WWMO2avgCvdOsZXxlgfnb1j096RI58+9dgXvzp7B5dmf/YALt3h4cF7l7E8PHsH8Nb7n9Dert//4eHBl8YYAmDHuAIAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABA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IEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAE7Z//iR963+wRmw7X5cRYZ68AgMvn2//y/NFz95++c/aOTfvr4d5fzB6xaZk9AAAus6//3m++ZyzLs7N3bHIFAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAATtzx7AleG3fuN3xt+/8M3ZM7baj/3wXeODH/qR2TPYcRee/fL43cf+ZPaMrXbDsWvGJ37hY7NnbD0BwGXxp3/zwnj2O9fOnrHVTl54TgDw//b8Pz4//uhFH2/fzDte/I/xidkjdoBTBABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQt586eWWePYPf92o33jr+85sTsGVvtJ//9/Lj35b+ePYMd91dHT4xfvene2TO22k0Hr4xf+vrjs2dsPV8AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD92QO4Mtz1ra+N7zl4afaMrfbu1765jjGW2TvYbTcevDzufeXC7Blb7djht2dP2AnLubNn1tkjAIC3lisAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABO3PHsCVYR3juWWMl2fv+F/LuGas4/bZM7gCLONvxzq+NXvGResY1y1j3DZ7B7tPAHB5LOvPvP/xpz8/e8ZF5+4/fedYlmdn7+AKcLh+9P2fefpLs2dc9MwDp+8b6/K52TvYfa4AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD9dawPzR6xaVmXe8YyPjx7xzZbx/jKGOujs3ds2ts7cmH2hk3r+toLY9nftrP94bGMe2bv2Grr+MK6rJ+dPeN11tdemD1h097ekQuHBwfbdbaX5WNjHbfP3rHV1vHZdVm/MHvGpmX2gDd65uzpTy5jeXj2jm22LOPJU48/dd/sHVya8/efeWRdxs/P3rHNlnX88qnPPPXJ2Tu4NOfOnnlyjPGjs3dss3WsD939xNOPzN6xyRUAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEPTfmCD610wwIoQAAAAASUVORK5CYII=");
filter: hue-rotate(-40deg) brightness(200%);
border:0;
background-color: transparent !important;
border-radius: 0 !important;
transform: rotate(0deg) !important;
}
.inky{
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAyfSURBVHic7dnPy2X3Qcfx73nmSSZm4iRt0so06YRQk4pgGqbRGVoxEGxcWDKxNODWhUW6EKmN3bpykyi6cCFBEFFEKiEpVWwDQhFqApnRlPpjqhirTaw2FI2JaWue57iQkZssIoNDvvfO+/X6Cz5wvvfyPue7DLgMzj9w5vPrOj40ewdc6ZZlPHnq8afum72D3bc3ewAA8NYTAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIGiZPYBLd/4jH7j18ODgwdk7Xm/56WWMO2avgCvdOsZXxlgfnb1j096RI58+9dgXvzp7B5dmf/YALt3h4cF7l7E8PHsH8Nb7n9Dert//4eHBl8YYAmDHuAIAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkA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AAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAE7Z//iR963+wRmw7X5cRYZ68AgMvn2//y/NFz95++c/aOTfvr4d5fzB6xaZk9AAAus6//3m++ZyzLs7N3bHIFAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAATtzx7AleG3fuN3xt+/8M3ZM7baj/3wXeODH/qR2TPYcRee/fL43cf+ZPaMrXbDsWvGJ37hY7NnbD0BwGXxp3/zwnj2O9fOnrHVTl54TgDw//b8Pz4//uhFH2/fzDte/I/xidkjdoBTBABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQt586eWWePYPf92o33jr+85sTsGVvtJ//9/Lj35b+ePYMd91dHT4xfvene2TO22k0Hr4xf+vrjs2dsPV8AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD92QO4Mtz1ra+N7zl4afaMrfbu1765jjGW2TvYbTcevDzufeXC7Blb7djht2dP2AnLubNn1tkjAIC3lisAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABO3PHsCVYR3juWWMl2fv+F/LuGas4/bZM7gCLONvxzq+NXvGResY1y1j3DZ7B7tPAHB5LOvPvP/xpz8/e8ZF5+4/fedYlmdn7+AKcLh+9P2fefpLs2dc9MwDp+8b6/K52TvYfa4AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD9dawPzR6xaVmXe8YyPjx7xzZbx/jKGOujs3ds2ts7cmH2hk3r+toLY9nftrP94bGMe2bv2Grr+MK6rJ+dPeN11tdemD1h097ekQuHBwfbdbaX5WNjHbfP3rHV1vHZdVm/MHvGpmX2gDd65uzpTy5jeXj2jm22LOPJU48/dd/sHVya8/efeWRdxs/P3rHNlnX88qnPPPXJ2Tu4NOfOnnlyjPGjs3dss3WsD939xNOPzN6xyRUAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEPTfmCD610wwIoQAAAAASUVORK5CYII=");
filter: hue-rotate(-190deg) brightness(180%);
border:0;
background-color: transparent !important;
border-radius: 0 !important;
transform: rotate(0deg) !important;
}
.clyde{
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAyfSURBVHic7dnPy2X3Qcfx73nmSSZm4iRt0so06YRQk4pgGqbRGVoxEGxcWDKxNODWhUW6EKmN3bpykyi6cCFBEFFEKiEpVWwDQhFqApnRlPpjqhirTaw2FI2JaWue57iQkZssIoNDvvfO+/X6Cz5wvvfyPue7DLgMzj9w5vPrOj40ewdc6ZZlPHnq8afum72D3bc3ewAA8NYTAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIGiZPYBLd/4jH7j18ODgwdk7Xm/56WWMO2avgCvdOsZXxlgfnb1j096RI58+9dgXvzp7B5dmf/YALt3h4cF7l7E8PHsH8Nb7n9Dert//4eHBl8YYAmDHuAIAgCABAABBAgAAggQAAAQJAAAIEgAAECQAAC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AQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAE7Z//iR963+wRmw7X5cRYZ68AgMvn2//y/NFz95++c/aOTfvr4d5fzB6xaZk9AAAus6//3m++ZyzLs7N3bHIFAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAATtzx7AleG3fuN3xt+/8M3ZM7baj/3wXeODH/qR2TPYcRee/fL43cf+ZPaMrXbDsWvGJ37hY7NnbD0BwGXxp3/zwnj2O9fOnrHVTl54TgDw//b8Pz4//uhFH2/fzDte/I/xidkjdoBTBABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQt586eWWePYPf92o33jr+85sTsGVvtJ//9/Lj35b+ePYMd91dHT4xfvene2TO22k0Hr4xf+vrjs2dsPV8AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD92QO4Mtz1ra+N7zl4afaMrfbu1765jjGW2TvYbTcevDzufeXC7Blb7djht2dP2AnLubNn1tkjAIC3lisAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABO3PHsCVYR3juWWMl2fv+F/LuGas4/bZM7gCLONvxzq+NXvGResY1y1j3DZ7B7tPAHB5LOvPvP/xpz8/e8ZF5+4/fedYlmdn7+AKcLh+9P2fefpLs2dc9MwDp+8b6/K52TvYfa4AACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKD9dawPzR6xaVmXe8YyPjx7xzZbx/jKGOujs3ds2ts7cmH2hk3r+toLY9nftrP94bGMe2bv2Grr+MK6rJ+dPeN11tdemD1h097ekQuHBwfbdbaX5WNjHbfP3rHV1vHZdVm/MHvGpmX2gDd65uzpTy5jeXj2jm22LOPJU48/dd/sHVya8/efeWRdxs/P3rHNlnX88qnPPPXJ2Tu4NOfOnnlyjPGjs3dss3WsD939xNOPzN6xyRUAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEPTfmCD610wwIoQAAAAASUVORK5CYII=");
filter: hue-rotate(35deg) brightness(170%);
border:0;
background-color: transparent !important;
border-radius: 0 !important;
transform: rotate(0deg) !important;
}
.scared-ghost{
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d15lF1Vge/x3z53qCFzQgZIyEQYAyRAYoMMZmBWnF4H+tntiHa32t1CQHG1rS8uu99rBBJ5+uzn07Z1LcEGZ0ERMpAQMRImBRLIAAkZyFSpSlLjnc5+f1RAQqeSGu45+9yzv5+1aolJau/frXuG3xnuKSOgCubfZeda6QOS5kg6SVKj20RAqnTIaKesVgWh7ln2WbPSdSDUPuM6AGrbvMV2vA31PWN0uessgEceyZT10aW3mddcB0HtogCg3y5fYs8MQy1T9xE/gHi9FgS6fNnN5kXXQVCbKADolzlL7PAg1JOSprnOAnhscxho9sqbzQHXQVB7AtcBUJuCiv5J7PwB16ZlKvpH1yFQmzgDgD67+HY7pC6rPZIaXGcBoM5CWWMfv820ug6C2sIZAPRZfUZXiZ0/kBQN+YyucB0CtYcCgD4LpXNcZwDwJ8awTqLvKADoM2M02nUGAEcY6zoAag8FAH1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EAAMBDFAAAADxEAQAAwEMUAAAAPEQBAADAQ4kqANaKx4VEKVDZdYTUYxmOjmX5jRzbiEglbR+XqAIgo72uI6SYLbfw840cy3CUdrsOkHadActvlIy0y3WGN0tUATDSC64zpNimlYtMl+sQaWesnnedIcXWuQ6QdmsWmk5JL7vOkVo2WctwogpAUNYDUrJOkaSFsfqF6wye+LnrAGkVBCzDsbAswxEph6EedB3izRJVAJbeZl4z0vdd50ihrkpF/9t1CB8sv0XLZPSE6xwp9OSym7TcdQgfZCpaLKnDdY4U+o+VnzOJuoyVqAIgSZWKviBpp+scaWKkL6y8zexwncMLxlgT6u8lcbmlerqs1SdlDL8TMwZLbzOvGaMvuc6RKkY7TEZfdB3jrRJXAFZ+zuwOjd4rqcl1ljQwVt9cfotZ7DqHT5bfap60Rh+WVHCdJQUKkj706K3maddBfLJ8obnLWH3TdY6UaLKh3rv8JrPHdZC3SlwBkKSVC81T2VBvk7TadZYadkDSp5bfaj7tOoiPHl1o7reB5stqg+ssNewlSfNW3GJ+5DqIj5bfaj5tjT6t7m0J+uexMNDspBZY4zrA8cxfbK+2VjdIulTSSZIaHEdKKitpj6SNkh7IGX334YWm2XEm781ZZLOZwbpBRu+z0mxJYyXVuc6VUAVJe4z0ZGj0U3tI969cZPhcumNXLbYjS1Yfk3SdkU613ctwIg8eE6BDRjuN1WprdN+KheYR14GO5f8DkA394ZniNIgAAAAASUVORK5CYII=");
border:0;
border-radius: 0;
background-color: transparent;
}
.pac-man{
background-color: yellow;
border-radius: 10px;
border: none;
transform: rotate(115deg);
}
.pac-man::before, .pac-man::after{
position: absolute;
content:"";
display: block;
width: 10px;
height: 10px;
}
.pac-man::before{
border-radius : 50px 0 0 0;
background-color: rgba(10,7,67,1.00);
border-color: rgba(10,7,67,1.00);
}
.pac-man::after{
border-radius : 50px 0 0 0 ;
background-color: yellow;
transform-origin: bottom right;
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
-webkit-animation: eat .5s infinite;
animation: eat .5s infinite;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4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+DQo=);
background-size: 40%;
background-repeat: no-repeat;
background-position: center
}
@-webkit-keyframes eat{
0% {
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
25% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
50% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
75% {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
100% {
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
}
@keyframes eat{
0%{
transform: rotate(-90deg);
}
50%{
transform: rotate(0deg);
}
100%{
transform: rotate(-90deg);
}
}
.gameOver, .won{
position: absolute;
margin-top: 80px ;
width: 396px;
height: 100px;
border : 2px solid rgba(239,0,0,1.00);
text-shadow: 1px 1px 0 rgba(239,0,0,1.00);
background-color: rgb(246, 184, 30);
color: rgba(10,7,67,1.00);
font-size: 40px;
z-index: 100;
display: flex;
justify-content: center;
}
.gameOver::after{
content: "GAME OVER";
position: absolute;
}
.won::after{
content: "YOU WON !";
position: absolute;
}
.restart{
position: absolute;
width : 150px;
height: 40px;
margin-top: 100px;
background-color: rgba(10,7,67,1.00);
border: 2px solid rgba(239,0,0,1.00);
border-radius: 5px;
z-index: 200;
cursor : pointer;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Bungee', cursive;
font-size: 22px;
letter-spacing: 1.5px;
color: rgb(246, 184, 30);
text-shadow: 1px 1px 0 rgba(239,0,0,1.00);
}
.restart:hover{
transform: scale(1.1);
}
.restart::after{
content: "RESTART";
position : absolute;
}
footer{
color : rgba(175,255,228,1.00);
width: 100%;
text-align: center;
position: fixed;
bottom: 30px;
z-index: -2;
}
/* RESPONSIVE */
@media screen and (max-width: 1024px){
#computer{
color: transparent;
text-shadow: none;
}
#mobile{
display: block;
margin: -20px auto -5px auto;
color: rgb(246, 184, 30);
font-size: 20px;
font-weight: lighter;
text-align: center;
text-transform: uppercase;
text-shadow: 1px 1px 0 rgba(239,0,0,1.00);
}
}
@media screen and (max-width: 670px){
body{
margin: 0;
}
#logo{
width: 100vw;
}
h2{
margin: -20px auto 20px auto;
font-size: 20px;
}
#computer{
display: none;
}
#mobile{
margin: -10px 5px -5px 5px;
font-size: 15px;
}
#play, .gameOver, .won{
margin-top: 13px;
font-size: 20px;
}
.grid{
width: 98vw;
height: 98vw;
margin-bottom: 40px;
}
.grid div{
width : 3.5vw;
height: 3.5vw;
}
.pac-dot {
border: 5px solid rgba(10,7,67,1.00);
border-radius: 50%;
}
.clyde, .pinky, .inky, .blinky{
border: none;
}
.pac-man{
border-radius: 50%;
border: none;
}
.pac-man::before, .pac-man::after{
width: 1.75vw;
height: 1.75vw;
}
.gameOver, .won{
width: 90vw;
height: 13vh;
padding: 5px 0;
}
.restart{
margin-top: 25px;
font-size: 20px;
}
footer{
font-size: 15px;
text-align: center;
}
}
let restartButton = document.createElement("button");
let score = 0;
let toWin = 0;
document.getElementById("play").addEventListener("click", function game() {
const scoreDisplay = document.getElementById("score");
const width = 28; // 28*28 = 784 squares
const grid = document.querySelector(".grid")
const layout = [
1,1,1,1,1,1,1,1,4,4,1,1,1,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,0,0,0,0,0,0,1,4,4,1,3,1,4,4,1,0,0,0,0,0,0,0,0,0,0,3,1,
1,0,1,1,1,1,0,1,1,1,1,0,1,4,4,1,1,1,1,0,1,0,1,1,1,0,1,1,
1,3,1,4,4,1,0,0,0,0,0,0,1,4,4,4,4,4,1,0,0,0,1,4,1,0,1,4,
1,0,1,4,4,1,0,1,1,0,1,0,1,4,4,4,4,4,1,0,1,0,1,4,1,0,1,4,
1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,0,1,0,1,1,1,0,1,1,
1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,
1,0,1,1,1,1,0,3,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,1,0,1,
1,0,0,0,0,0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,0,0,0,0,0,0,0,1,4,4,1,0,0,0,1,4,4,1,0,0,0,0,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,1,1,1,1,1,4,4,1,1,1,1,1,1];
// 0 = pac-dot ; 1 = wall ; 2 = ghost-lair ; 3 = power-pellet ; 4 = empty;
const squares = [];
// Draw the grid
function createBoard() {
for (let i = 0; i < layout.length ; i++){
const square = document.createElement("div");
grid.appendChild(square);
squares.push(square);
// Add layout to the board
if (layout[i] === 0) {
squares[i].classList.add("pac-dot");
} else if (layout[i] === 1) {
squares[i].classList.add("wall");
} else if (layout[i] === 2) {
squares[i].classList.add("ghost-lair");
} else if (layout[i] === 3) {
squares[i].classList.add("power-pellet");
} else if (layout[i] === 4) {
squares[i].classList.add("empty");
}
}
}
createBoard();
//User's best score
function bestScoreCount () {
let higher;
let bestScore = window.localStorage.getItem(higher);
window.localStorage.setItem(bestScore, higher);
const bestScoreDisplay = document.getElementById("bestScore");
if (bestScore == null) {
bestScore = score;
window.localStorage.setItem(higher, bestScore);
} else if (score < Number(window.localStorage.getItem(higher))) {
bestScore = score;
} else if (score > Number(window.localStorage.getItem(higher))) {
window.localStorage.clear();
bestScore = score;
window.localStorage.setItem(higher, bestScore);
}
bestScoreDisplay.innerHTML = window.localStorage.getItem(higher);
}
bestScoreCount();
// Starting position of Pac-Man
let pacmanCurrentIndex = 518;
squares[pacmanCurrentIndex].classList.add("pac-man");
// Move Pac-Man
function movePacman (e) {
squares[pacmanCurrentIndex].classList.remove("pac-man");
switch(e.keyCode){
case 37:
if (pacmanCurrentIndex % width !== 0 && !squares[pacmanCurrentIndex -1].classList.contains("wall") && !squares[pacmanCurrentIndex -1].classList.contains("ghost-lair")) {
pacmanCurrentIndex -=1;
squares[pacmanCurrentIndex].style.transform = "scaleX(-1) rotate(95deg)";
// If Pac-Man is on the left exit
if (pacmanCurrentIndex - 1 === 363) {
pacmanCurrentIndex = 391;
}}
break;
case 38:
if (pacmanCurrentIndex - width >= 0 && !squares[pacmanCurrentIndex - width].classList.contains("wall") && !squares[pacmanCurrentIndex - width].classList.contains("ghost-lair")) {
pacmanCurrentIndex -= width;
squares[pacmanCurrentIndex].style.transform = "scaleY(1)";
}
break;
case 39:
if (pacmanCurrentIndex % width < width - 1 && !squares[pacmanCurrentIndex +1].classList.contains("wall") && !squares[pacmanCurrentIndex +1].classList.contains("ghost-lair")){
pacmanCurrentIndex += 1;
squares[pacmanCurrentIndex].style.transform = "scaleY(1) rotate(95deg)";
// If Pac-Man is on the right exit
if(pacmanCurrentIndex + 1 === 392) {
pacmanCurrentIndex = 364;
}}
break;
case 40:
if (pacmanCurrentIndex + width < width * width && !squares[pacmanCurrentIndex + width].classList.contains("wall") && !squares[pacmanCurrentIndex + width].classList.contains("ghost-lair")) {
pacmanCurrentIndex += width;
squares[pacmanCurrentIndex].style.transform = "rotate(190deg)";
}
break;
}
squares[pacmanCurrentIndex].classList.add("pac-man");
pacDotEaten();
powerPelletEaten();
checkForGameOver();
checkForWin();
}
document.addEventListener("keydown", movePacman);
// Move Pac-Man on mobile devices (Swipe up-down-left-right)
var initialX = null;
var initialY = null;
function startTouch (e) {
initialX = e.touches[0].clientX;
initialY = e.touches[0].clientY;
}
function moveTouch (e) {
if (initialX === null){
return;
}
if (initialY === null){
return;
}
var currentX = e.touches[0].clientX;
var currentY = e.touches[0].clientY;
var diffX = initialX - currentX;
var diffY = initialY - currentY;
squares[pacmanCurrentIndex].classList.remove("pac-man");
if (Math.abs(diffX) > Math.abs(diffY)){
if (diffX > 0) {
// Swipe Left
if (pacmanCurrentIndex % width !== 0 && !squares[pacmanCurrentIndex -1].classList.contains("wall") && !squares[pacmanCurrentIndex -1].classList.contains("ghost-lair")) {
pacmanCurrentIndex -=1;
squares[pacmanCurrentIndex].style.transform = "scaleX(-1) rotate(95deg)";
// If Pac-Man is on the left exit
if (pacmanCurrentIndex - 1 === 363) {
pacmanCurrentIndex = 391;
}}
} else {
// Swipe Right
if (pacmanCurrentIndex % width < width - 1 && !squares[pacmanCurrentIndex +1].classList.contains("wall") && !squares[pacmanCurrentIndex +1].classList.contains("ghost-lair")){ pacmanCurrentIndex += 1;
squares[pacmanCurrentIndex].style.transform = "scaleY(1) rotate(95deg)";
// If Pac-Man is on the right exit
if(pacmanCurrentIndex + 1 === 392) {
pacmanCurrentIndex = 364;
}}
}
} else {
if (diffY > 0){
// Swipe Up
if (pacmanCurrentIndex - width >= 0 && !squares[pacmanCurrentIndex - width].classList.contains("wall") && !squares[pacmanCurrentIndex - width].classList.contains("ghost-lair")) { pacmanCurrentIndex -= width;
squares[pacmanCurrentIndex].style.transform = "scaleY(1)";
}
} else {
// Swipe Down
if (pacmanCurrentIndex + width < width * width && !squares[pacmanCurrentIndex + width].classList.contains("wall") && !squares[pacmanCurrentIndex + width].classList.contains("ghost-lair")) {
pacmanCurrentIndex += width;
squares[pacmanCurrentIndex].style.transform = "rotate(190deg)";
}
}
}
squares[pacmanCurrentIndex].classList.add("pac-man");
initialX = null;
initialY = null;
e.preventDefault();
pacDotEaten();
powerPelletEaten();
checkForGameOver();
checkForWin();
}
document.querySelector(".grid").addEventListener("touchstart", startTouch, false);
document.querySelector(".grid").addEventListener("touchmove", moveTouch, false);
// When Pac-Man eats a Pac-Dot
function pacDotEaten() {
if (squares[pacmanCurrentIndex].classList.contains("pac-dot")){
score++;
toWin++;
squares[pacmanCurrentIndex].classList.remove("pac-dot");
}
scoreDisplay.innerHTML = score;
}
// When Pac-Man eats a Power-Pellet
function powerPelletEaten () {
if (squares[pacmanCurrentIndex].classList.contains("power-pellet")) {
score += 10;
toWin += 10;
ghosts.forEach(ghost => ghost.isScared = true);
setTimeout(unScareGhosts, 7000);
squares[pacmanCurrentIndex].classList.remove("power-pellet");
}
scoreDisplay.innerHTML = score;
}
// Create Ghost template
class Ghost {
constructor(className, startIndex, speed){
this.className = className;
this.startIndex = startIndex;
this.speed = speed;
this.currentIndex = startIndex;
this.timerId = NaN;
this.isScared = false;
}
}
const ghosts = [
new Ghost("blinky", 348, 290),
new Ghost("pinky", 376, 380),
new Ghost("inky", 351, 200),
new Ghost("clyde", 379, 250)
]
// Give back their colors to the ghosts
function unScareGhosts () {ghosts.forEach(ghost => ghost.isScared = false)}
// Draw the ghosts onto the grid
ghosts.forEach(ghost => {
squares[ghost.currentIndex].classList.add(ghost.className);
squares[ghost.currentIndex].classList.add("ghost");
})
// Move the ghosts
ghosts.forEach(ghost => moveGhost(ghost));
function moveGhost (ghost) {
const directions = [-1, +1, width, -width];
let direction = directions[Math.floor(Math.random() * directions.length)];
ghost.timerId = setInterval(function () {
if (!squares[ghost.currentIndex + direction].classList.contains("ghost") && !squares[ghost.currentIndex + direction].classList.contains("wall")) {
squares[ghost.currentIndex].classList.remove(ghost.className);
squares[ghost.currentIndex].classList.remove("ghost", "scared-ghost");
ghost.currentIndex += direction;
squares[ghost.currentIndex].classList.add(ghost.className, "ghost");
} else if (ghost.currentIndex - 1 === 363) {
squares[ghost.currentIndex].classList.remove(ghost.className, "ghost");
ghost.currentIndex = 391;
squares[ghost.currentIndex].classList.add("ghost");
} else if (ghost.currentIndex + 1 === 392) {
squares[ghost.currentIndex].classList.remove(ghost.className, "ghost");
ghost.currentIndex = 364;
squares[ghost.currentIndex].classList.add("ghost");
} else {
direction = directions[Math.floor(Math.random() * directions.length)]
}
if (ghost.isScared) {
squares[ghost.currentIndex].classList.add("scared-ghost");
}
if (squares[pacmanCurrentIndex].classList.contains("scared-ghost")) {
squares[ghost.currentIndex].classList.remove(ghost.className, "ghost", "scared-ghost");
ghost.currentIndex = ghost.startIndex;
score += 100;
scoreDisplay.innerHTML = score;
squares[ghost.currentIndex].classList.add(ghost.className, "ghost");
}
checkForGameOver();
}, ghost.speed)
}
// Check for Game Over
function checkForGameOver () {
if (squares[pacmanCurrentIndex].classList.contains("ghost") && !squares[pacmanCurrentIndex].classList.contains("scared-ghost")) {
ghosts.forEach(ghost => clearInterval(ghost.timerId));
document.removeEventListener("keydown", movePacman);
bestScoreCount();
scoreDisplay.innerHTML = score;
let gameOver = document.createElement("div");
gameOver.classList.add("gameOver");
document.body.append(gameOver);
restartButton.classList.add("restart");
document.body.append(restartButton);
document.getElementById("play").removeEventListener("click", game);
restartButton.addEventListener("click", () => {window.location.reload(false)})
}
}
// Check for Win
function checkForWin () {
if (toWin === 372) {
ghosts.forEach(ghost => clearInterval(ghost.timerId));
document.removeEventListener("keydown", movePacman);
bestScoreCount();
scoreDisplay.innerHTML = score;
let youWon = document.createElement("div");
youWon.classList.add("won");
document.body.append(youWon);
restartButton.classList.add("restart");
document.body.append(restartButton);
document.getElementById("play").removeEventListener("click", game);
restartButton.addEventListener("click", () => {window.location.reload(false)})
}
}
})
Also see: Tab Triggers