Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yigitsh/snakegame

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yigitsh/snakegame

You can make Snake game in a simple way.

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Snakegame

You can make Snake game in a simple way. Don't forget to review documentation to use the module. If you have any questions, you can come to the discord server.

Default Config

{
  "snake_head": "🟩",
  "snake_tail": "🟩",
  "background": "🟫",
  "food": "🥝",
  "width": 10,
  "height": 1
}

Example

Node

let SnakeGame = require("@yigitsh/snakegame").default;
SnakeGame = new SnakeGame();
// If you just want to edit certain settings, you can enter the name of the setting you want to edit and do it, you don't need to type the entire config directly there

Keywords

FAQs

Package last updated on 10 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc