Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

yigit433/snakegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Now you can make snake game in a simple and easy way!

Resources

Stars

Watchers

Forks

Packages

No packages published