hi yes I am Tom the Bomb indeed
- Python (Fluent)
- Rust (good amount, currently using the most)
- Javascript + Typescript (good amount)
- Java (decent amount)
- Go, C++ (minimal)
- HTML + CSS
- MongoDB & some SQLite
A library for making implementing conventional games into your discord bot, easier.
License: MIT License
hello tom-the-bomb I'm pretty new to coding and GitHub in general and i loved your module, its amazing and really fun to play... but it took me a lot of time to get it working and idk still is the code i have got and written correct.. i got an implementation of your code in another repo https://github.com/Dhruvacube/yondaime-hokage/blob/f53f1db3c2172331be2b60bc42a10c3a30ae45a5/botmain/bot/cogs/games/games.py here... i would like you too include this too in your examples and also im not getting chess to work.. thanks a ton in advance โบ
if this is not the right place to say this.. pls guide me..
Add support for discord.Interaction in the games.
this isn't really necessary but for ttt it would be easier to play with buttons since with reactions its very easy to miss click
Basically I can't install the lib, cuz there's too much files on the flag guessing game and my server couldn't handle it all
I'm sorry if this isn't the place to put this but im new to all this stuff and I've been trying to put these on my discord bot for days now and I just cant figure out how to do it. again I apologize for putting this in issues because idk if my stupidity qualifies as an issue. I just need some help on putting these on my bot.
for more clarification the main issues im having is
thanks in advance!
In the chess command,
@commands.command(name='chess', help="start a chess game")
async def chess(self, ctx, black: discord.Member):
white = ctx.author
game = ChessGame.Chess(white, black)
await game.start(ctx,
timeout=120,
add_reaction_after_move=True
)
its giving,
__init__() takes 1 positional argument but 3 were given
Please help
Update dpy version in requirements.txt
as lot many old features started getting deprecated.
the problem is that it doesnt dm me or the member
my code:
import discord
from discord.ext import commands
from Discord_Games.battleship import BattleShip
class BattleShip(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command()
async def battleship(self, ctx, member: commands.MemberConverter):
game = BattleShip(player1 = ctx.author, player2 = member)
await game.start(ctx)
def setup(bot):
bot.add_cog(BattleShip(bot))
all it does is sends this:
Game Started!
I've setup the boards in your dms!
anyone know how to fix this?
also i didnt get any error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.