{"_id":"@brncray/gamecord-rrc","name":"@brncray/gamecord-rrc","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@brncray/gamecord-rrc","version":"0.0.1","description":"Discord Gamecord is a powerful npm package with a collection of minigames for your discord bot","main":"index.js","scripts":{"test":"cd test && node ."},"author":{"name":"brncray"},"license":"MIT","dependencies":{"discord.js":"^14.14.1","html-entities":"^2.3.3","node-fetch":"^2.6.7"},"directories":{"src":"src"},"_id":"@brncray/gamecord-rrc@0.0.1","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-k0mnvumljqFtPc8mGkOGmJvnGolG8I01eYtdC5/Y/RpruDTbB51P6b03F5xHn93omK9moNyDa7atChnjSq+4yQ==","shasum":"a234a6d8249dc6ed261becd827b5394dfb166d64","tarball":"https://registry.npmjs.org/@brncray/gamecord-rrc/-/gamecord-rrc-0.0.1.tgz","fileCount":26,"unpackedSize":152380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC28dBAjxB8kwLr70Vi/6rpYYHMn1kRf/wIkeKR5agxxAiA4u6I8+CbNsMmzaj6H0KPFccOZtU6FhtOSIhHI3xIceA=="}]},"_npmUser":{"name":"brncray","email":"bobrien2909@gmail.com"},"maintainers":[{"name":"brncray","email":"bobrien2909@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gamecord-rrc_0.0.1_1714249115211_0.9662491253570629"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-27T20:18:35.097Z","0.0.1":"2024-04-27T20:18:35.400Z","modified":"2024-04-27T20:18:35.711Z"},"maintainers":[{"name":"brncray","email":"bobrien2909@gmail.com"}],"description":"Discord Gamecord is a powerful npm package with a collection of minigames for your discord bot","author":{"name":"brncray"},"license":"MIT","readme":"# **GAMECORD**\r\n\r\n<p align=\"center\">\r\n  <img src=\"https://cdn.discordapp.com/attachments/818900078077018162/1042159279597166682/banner.png\" alt=\"gamecord\" />\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <a href=\"https://www.npmjs.com/package/discord-gamecord\">\r\n    <img src=\"https://img.shields.io/npm/dt/discord-gamecord?style=for-the-badge\" alt=\"npm\" />\r\n  </a>\r\n\r\n  <a href=\"https://discord.gg/invite/GaczkwfgV9\">\r\n    <img src=\"https://img.shields.io/discord/800631529351938089?color=5865F2&label=Aniket&style=for-the-badge\" alt=\"Discord Server\" />\r\n  </a>\r\n</p>\r\n\r\n> **Discord Gamecord is a powerful npm package with a collection of minigames for your discord bot :)**\r\n\r\n\r\n## **⚙️ Installation** \r\n**For discord.js v13 use `npm i discord-gamecord@v3-lts`**\r\n```\r\nnpm i discord-gamecord@latest\r\n```\r\n\r\n\r\n## **✨ Features**\r\n\r\n- Easy to use.\r\n- Beginner friendly.\r\n- Slash Commands Games.\r\n- Supports Discord.js v13 & v14.\r\n\r\n\r\n## **📚 Usage**\r\n```js\r\nconst { Snake } = require('discord-gamecord');\r\n\r\nconst Game = new Snake({\r\n  message: message,\r\n  isSlashGame: false,\r\n  embed: {\r\n    title: 'Snake Game',\r\n    overTitle: 'Game Over',\r\n    color: '#5865F2'\r\n  },\r\n  emojis: {\r\n    board: '⬛',\r\n    food: '🍎',\r\n    up: '⬆️', \r\n    down: '⬇️',\r\n    left: '⬅️',\r\n    right: '➡️',\r\n  },\r\n  stopButton: 'Stop',\r\n  timeoutTime: 60000,\r\n  snake: { head: '🟢', body: '🟩', tail: '🟢', over: '💀' },\r\n  foods: ['🍎', '🍇', '🍊', '🫐', '🥕', '🥝', '🌽'],\r\n  playerOnlyMessage: 'Only {player} can use these buttons.'\r\n});\r\n\r\nGame.startGame();\r\nGame.on('gameOver', result => {\r\n  console.log(result);  // =>  { result... }\r\n});\r\n```\r\n\r\n\r\n## **📷 Preview**\r\n<img src=\"https://cdn.discordapp.com/attachments/818900078077018162/1042159356780757072/Preview.png\">\r\n\r\n## **❔ Support**\r\n<a href=\"https://discord.gg/invite/GaczkwfgV9\"><img src=\"https://invidget.switchblade.xyz/GaczkwfgV9\" alt=\"Discord\"></a>\r\n\r\n","readmeFilename":"README.md"}