ldgit / snake Goto Github PK
View Code? Open in Web Editor NEWBasic Snake clone
Home Page: https://ldgit.github.io/snake/
License: GNU General Public License v3.0
Basic Snake clone
Home Page: https://ldgit.github.io/snake/
License: GNU General Public License v3.0
Error message:
Uncaught TypeError: headCoordinates is undefined
getNewHeadCoordinates moveSnake.js:82
moveSnake moveSnake.js:8
startTimer snake.js:20
update index.mjs:43
startTimer snake.js:19
setInterval handler*startTimer snake.js:16
changeDelayBetweenMoves snake.js:35
update App.svelte:14
update index.mjs:760
flush index.mjs:732
promise callback*schedule_update index.mjs:707
make_dirty index.mjs:1442
ctx index.mjs:1477
restartGame bundle.js:3615
dispose GameOver.svelte:16
listen index.mjs:238
listen_dev index.mjs:1608
mount bundle.js:3227
update bundle.js:3305
update index.mjs:764
flush index.mjs:732
promise callback*schedule_update index.mjs:707
make_dirty index.mjs:1442
ctx index.mjs:1477
update App.svelte:13
set index.mjs:35
update index.mjs:43
startTimer snake.js:19
setInterval handler*startTimer snake.js:16
changeDelayBetweenMoves snake.js:35
update App.svelte:14
update index.mjs:760
flush index.mjs:732
promise callback*schedule_update index.mjs:707
make_dirty index.mjs:1442
ctx index.mjs:1477
restartGame bundle.js:3615
dispose GameOver.svelte:16
listen index.mjs:238
listen_dev index.mjs:1608
moveSnake.js:82:22
getNewHeadCoordinates moveSnake.js:82
moveSnake moveSnake.js:8
startTimer snake.js:20
update index.mjs:43
startTimer snake.js:19
(Async: setInterval handler)
startTimer snake.js:16
changeDelayBetweenMoves snake.js:35
update App.svelte:14
update index.mjs:760
flush index.mjs:732
(Async: promise callback)
schedule_update index.mjs:707
make_dirty index.mjs:1442
ctx index.mjs:1477
restartGame bundle.js:3615
dispose GameOver.svelte:16
(Async: EventListener.handleEvent)
listen index.mjs:238
listen_dev index.mjs:1608
mount bundle.js:3227
update bundle.js:3305
update index.mjs:764
flush index.mjs:732
(Async: promise callback)
schedule_update index.mjs:707
make_dirty index.mjs:1442
ctx index.mjs:1477
update App.svelte:13
set index.mjs:35
update index.mjs:43
startTimer snake.js:19
(Async: setInterval handler)
startTimer snake.js:16
changeDelayBetweenMoves snake.js:35
update App.svelte:14
update index.mjs:760
flush index.mjs:732
(Async: promise callback)
schedule_update index.mjs:707
make_dirty index.mjs:1442
ctx index.mjs:1477
restartGame bundle.js:3615
dispose GameOver.svelte:16
(Async: EventListener.handleEvent)
listen index.mjs:238
listen_dev index.mjs:1608
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.