Help
RSS
API
Feed
Maltego
Contact
Domain > bodnarzoltan.hu
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2014-08-29
31.170.160.172
(
ClassC
)
2025-01-14
185.33.52.18
(
ClassC
)
Port 80
HTTP/1.1 200 OKContent-Type: text/htmlAccept-Ranges: bytesETag: 3902017262Last-Modified: Mon, 04 Mar 2024 20:01:06 GMTContent-Length: 3946Connection: closeDate: Tue, 24 Sep 2024 19:01:47 GMTServer: Do !DOCTYPE html>html langen>head> meta charsetUTF-8> meta nameviewport contentwidthdevice-width, initial-scale1.0> title>Snake Game/title> style> #game-board { width: 400px; height: 400px; border: 1px solid black; position: relative; } .snake { width: 20px; height: 20px; background-color: green; position: absolute; } .food { width: 20px; height: 20px; background-color: red; position: absolute; } /style>/head>body> h1>Snake Game/h1> div idgame-board>/div> script> const gameBoard document.getElementById(game-board); const snake {x: 200, y: 200}; const food {x: 0, y: 0}; let direction right; let intervalId; function startGame() { generateFood(); intervalId setInterval(moveSnake, 100); } function moveSnake() { const head {x: snake0.x, y: snake0.y}; switch (direction) { case up: head.y - 20; break; case down: head.y + 20; break; case left: head.x - 20; break; case right: head.x + 20; break; } if (isCollision(head)) { clearInterval(intervalId); alert(Game Over!); return; } snake.unshift(head); if (head.x food.x && head.y food.y) { generateFood(); } else { snake.pop(); } render(); } function isCollision(position) { return ( position.x 0 || position.x > gameBoard.clientWidth || position.y 0 || position.y > gameBoard.clientHeight || snake.some(segment > segment.x position.x && segment
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]