This is a simple Discord bot that allows users to play the X/O game (also known as Tic-Tac-Toe) with the bot.
- Clone the repository:
git clone https://github.com/your-username/xo-discord-bot.git - Install the required packages:
pip install -r requirements.txt - Create a new Discord bot and get its token.
- Add the bot to your Discord server.
- Replace the
your-token-herevariable in thexo_discord_bot.pyfile with your bot's token.
To play the game, send a message in a Discord channel where the bot is present. The bot will prompt you to enter a position on the game board by typing a number between 1 and 9. You will play as the X symbol, and the bot will play as the O symbol.
This project is licensed under the MIT License. See the LICENSE file for details.