This commit is contained in:
Dominic DiTaranto 2025-09-07 23:14:26 -04:00
commit 670b05ec2d
2 changed files with 4 additions and 1 deletions

View file

@ -85,6 +85,9 @@ class Map {
getKeystroke() {
var self = this;
_listener = function (event) {
if (["Space", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].indexOf(event.code) > -1) {
event.preventDefault();
}
var dontLoop = false;
if (event.key === "h" || event.key === "a" || event.key === "ArrowLeft") {
self.move("left");

View file

@ -161,7 +161,7 @@
<hr />
<div style="padding: 20px" class="info">
<h4>How To Play:</h4>
You are an old man working in a Sokobanya, a Russian bath house. You need
You are an old man working in Sokobanya, a luxury Russian bath house. You need
to move pieces of coal to the stoves in order to keep the saunas hot. Try
to move all pieces of coal in the shortest amount of moves possible!
<h4>Controls:</h4>