
snakes-on-a-screen av bennett1412
The add-on is a simple game that uses p5.js library to let the user play classic snake game over a webpage.
Du behöver Firefox för att kunna använda den här tillägget
Metadata för tillägg
Skärmbilder

Om detta tillägg
Controls for the snake are:
- u >> up,
- j >> down
- h >>left
- k >> right
It has a popup that lets you start a new game, exit from the game and has a high-score counter. Objective is to eat as much food (red squares) as possible. If the snake bites itself or hits the borders game will end and the page will turn red, which can be removed by exiting.
The game will only run in the top portion of the webpage and might not work properly on some pages with sticky components.
- u >> up,
- j >> down
- h >>left
- k >> right
It has a popup that lets you start a new game, exit from the game and has a high-score counter. Objective is to eat as much food (red squares) as possible. If the snake bites itself or hits the borders game will end and the page will turn red, which can be removed by exiting.
The game will only run in the top portion of the webpage and might not work properly on some pages with sticky components.
I made this game while learning javascript, hope you find it cool
Betygsätt din upplevelse
BehörigheterLäs mer
Nödvändiga behörigheter:
- Åtkomst till dina data för alla webbplatser
Mer information
- Länkar för tillägg
- Version
- 0.0.0.1
- Storlek
- 870,28 kB
- Senast uppdaterad
- för 4 år sedan (20 jul 2021)
- Relaterade kategorier
- Licens
- Mozilla Public License 2.0
- Versionshistorik
Lägg till i samling
Fler tillägg av bennett1412
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än
- Det finns inga betyg än