Giter Club home page Giter Club logo

discord-games's Introduction

Discord Games Bot

This repository contains all my code for my discord games that I have made over the course of several videos!

Feel free to use this code in your own projects as you would like, however I ask that you:

  1. Don't claim my own code as yours.
    • You may use this code in your own projects, but don't try and claim that you were the one who wrote this code.
  2. Provide some sort of credit or attribution.
    • I very much like the "Author" tag you can set on the embeds and I accept that on each of the games as enough credit.
  3. Don't do anything you wouldn't want others to do with your own code. Basically just be a decent person :)

A FAQ can be found here as well to answer some common questions!

Current Game List

Snake

Snake

Hangman

Hangman

Connect-4

Connect-4

Minesweeper

Minesweeper

Chess

Chess

Tic-Tac-Toe

Tic-Tac-Toe

discord-games's People

Contributors

itsjusttriz avatar theturkeydev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

discord-games's Issues

Chess pieceName stored incorrectly.

Discord User HaloSpark334#3272 on your own Discord had pointed out that while trying to move the Queen to an invalid position, it would wrongly mention not being able to move the 'Rook' to that area.

image

can you guys help?

i am getting this error at the end of the game

Z:\Projects\Discord-Games\node_modules\node-fetch\lib\index.js:273
                                return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
                                                           ^
FetchError: invalid json response body at https://discord.com/api/v10/channels/1065343985679339603/messages/1087064369482960917/reactions reason: Unexpected end of JSON input
    at Z:\Projects\Discord-Games\node_modules\node-fetch\lib\index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'invalid-json'
}

Add readme.md

Hello, It seems like an interesting project. It'd be really nice to add readme.md so that people can understand the working of the project.

JS

Hey, do you have a javascript version of this?

When playing connect 4

When you play connect 4 and you fill up a row, if you tap that row again it doesn’t do anything! I think it should just give you a second go because it just give it to the other person!
IMG_1775
IMG_1774

New Subcommand for /gamesbot

i see you have admin_actions for users with Administrator permission. Mind adding a list_channels subcommand too, using same permission? Provides quicker insight than doing ... remove in each channel just to check availability. :)

(I also see you have the subcommand hidden from the repo, so it prevented me from using the same layout to create a PR LUL)

Contributions

do u expect contributions on this repo or is this just for sharing code u wrote in ur videos?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.