{"id":30646173,"url":"https://github.com/falcao-g/falgames","last_synced_at":"2025-08-31T04:17:14.643Z","repository":{"id":207984140,"uuid":"720556855","full_name":"falcao-g/Falgames","owner":"falcao-g","description":"Falgames is a powerful npm package designed to help others create awesome discord bots","archived":false,"fork":false,"pushed_at":"2025-06-19T17:32:40.000Z","size":549,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T17:53:57.737Z","etag":null,"topics":["discord-bot","discord-game","discord-js","discord-lib","library","minigames"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/falgames","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/falcao-g.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-18T21:00:46.000Z","updated_at":"2025-06-19T17:32:43.000Z","dependencies_parsed_at":"2023-11-18T22:28:39.395Z","dependency_job_id":"9bad1742-f61c-4b72-b709-ce243d4648b2","html_url":"https://github.com/falcao-g/Falgames","commit_stats":null,"previous_names":["falcao-g/falgames"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/falcao-g/Falgames","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falcao-g%2FFalgames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falcao-g%2FFalgames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falcao-g%2FFalgames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falcao-g%2FFalgames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/falcao-g","download_url":"https://codeload.github.com/falcao-g/Falgames/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falcao-g%2FFalgames/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272937422,"owners_count":25018370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discord-bot","discord-game","discord-js","discord-lib","library","minigames"],"created_at":"2025-08-31T04:17:13.711Z","updated_at":"2025-08-31T04:17:14.633Z","avatar_url":"https://github.com/falcao-g.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e FALGAMES \u003c/h1\u003e\r\n\r\n\u003e **Falgames is a helpful package to enhance your discord bot with fun and interactive minigames :)**\r\n\r\n\u003cp align=\"center\"\u003e\r\n    \u003ca href=\"https://www.npmjs.com/package/falgames\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/falgames.svg?maxAge=3600\" alt=\"npm version\" /\u003e\u003c/a\u003e\r\n\t\t\u003ca href=\"https://www.npmjs.com/package/falgames\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/falgames.svg?maxAge=3600\" alt=\"npm downloads\" /\u003e\u003c/a\u003e\r\n    \u003ca href=\"https://jsr.io/@falcao/falgames\"\u003e\u003cimg src=\"https://jsr.io/badges/@falcao/falgames\" alt=\"jsr version\" /\u003e\u003c/a\u003e\r\n\t\t\u003ca href=\"https://jsr.io/@falcao/falgames\"\u003e\u003cimg src=\"https://jsr.io/badges/@falcao/falgames/score\" alt=\"jsr score\" /\u003e\u003c/a\u003e\r\n    \u003ca title=\"Stars\" href=\"https://github.com/falcao-g/Falgames/stargazers\"\u003e\r\n\t\t\u003cimg src=\"https://img.shields.io/github/stars/falcao-g/Falgames?style=social\" alt=\"Stars\"\u003e\r\n    \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n## **✨ Why Falgames?**\r\n\r\n- Easy to use \u0026 beginner friendly.\r\n- Supports both message and slash commands.\r\n- Customizable to fit your bot's style.\r\n- 18 different minigames to choose from.\r\n\r\n## **⚙️ Installation**\r\n\r\nPlease note that Node v18+ and Discord.js v14+ is required.\r\n\r\n```bash\r\nnpm i falgames\r\n```\r\n\r\nor\r\n\r\n```bash\r\ndeno add @falcao/falgames\r\n```\r\n\r\n## 📷 Preview\r\n\r\n![Preview](/assets/readme.png)\r\n\r\n## **📚 Usage**\r\n\r\nStarting a game with Falgames is as easy as the following example:\r\n\r\n```js\r\nconst { Snake } = require(\"falgames\") // or import { Snake } from \"falgames\"\r\n\r\nconst Game = new Snake({\r\n\tmessage: message,\r\n\tisSlashGame: false,\r\n\tembed: {\r\n\t\ttitle: \"Snake Game\",\r\n\t\toverTitle: \"Game Over\",\r\n\t\tscoreText: \"**Score:**\",\r\n\t\tcolor: \"#551476\",\r\n\t},\r\n\temojis: {\r\n\t\tboard: \"⬛\",\r\n\t\tup: \"⬆️\",\r\n\t\tdown: \"⬇️\",\r\n\t\tleft: \"⬅️\",\r\n\t\tright: \"➡️\",\r\n\t},\r\n\tsnake: { head: \"🟢\", body: \"🟩\", tail: \"🟢\", over: \"💀\" },\r\n\tfoods: [\"🍎\", \"🍇\", \"🍊\", \"🫐\", \"🥕\", \"🥝\", \"🌽\"],\r\n\tstopButton: \"Stop\",\r\n\ttimeoutTime: 60000,\r\n\tplayerOnlyMessage: \"Only {player} can use these buttons.\",\r\n})\r\n\r\nGame.startGame()\r\nGame.on(\"gameOver\", (result) =\u003e {\r\n\tconsole.log(result) // =\u003e  { result... }\r\n})\r\n```\r\n\r\nSlash commands are also supported, just set the `isSlashGame` option to `true` and the message option to `interaction`:\r\n\r\n```js\r\nconst { Snake } = require(\"falgames\")\r\n\r\nconst Game = new Snake({\r\n\tmessage: interaction,\r\n\tisSlashGame: true,\r\n\t//...\r\n})\r\n```\r\n\r\nMake sure to check out the [examples](examples) folder for more examples.\r\n\r\n## **📜 Credits**\r\n\r\nThis package is directed inspired by the [Gamecord](https://www.npmjs.com/package/discord-gamecord) package.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalcao-g%2Ffalgames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalcao-g%2Ffalgames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalcao-g%2Ffalgames/lists"}