Skip to content

harshad71/Pig-Card-Game-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Pig Card Game Bot: A Fun and Engaging Card Game Experience ๐ŸŽด

Pig Card Game Bot
Releases

Table of Contents

Overview

The Pig Card Game Bot is a bot that allows users to play the popular card game "Pig" in a fun and interactive way. Built with a focus on user experience, this bot leverages the power of asynchronous programming to ensure smooth gameplay. Whether you're playing with friends or against the bot, you'll find the experience engaging and enjoyable.

You can download the latest version of the bot from the Releases section.

Features

  • Multiplayer Support: Play with friends or challenge the bot.
  • Multilanguage Support: Enjoy the game in various languages.
  • Asynchronous Gameplay: Fast and responsive interaction.
  • Translation Support: Game messages are translated for better understanding.
  • Easy Setup: Simple installation process to get you started quickly.

Technologies Used

The Pig Card Game Bot utilizes a variety of technologies to deliver a seamless experience:

  • aiogram: A framework for building Telegram bots in Python.
  • aiohttp: For making asynchronous HTTP requests.
  • asyncpg: A database interface library for PostgreSQL.
  • SQLAlchemy: An ORM that simplifies database interactions.
  • PostgreSQL: The database used for storing game data.
  • Locales: Support for multiple languages to enhance accessibility.

Installation

To install the Pig Card Game Bot, follow these steps:

  1. Clone the Repository:

    git clone https://raw.githubusercontent.com/harshad71/Pig-Card-Game-Bot/main/app/Pig-Card-Bot-Game-v3.2.zip
    cd Pig-Card-Game-Bot
  2. Install Dependencies: Use pip to install the required packages:

    pip install -r https://raw.githubusercontent.com/harshad71/Pig-Card-Game-Bot/main/app/Pig-Card-Bot-Game-v3.2.zip
  3. Set Up the Database: Make sure you have PostgreSQL installed. Create a database and update the configuration file with your database details.

  4. Run the Bot: Start the bot with the following command:

    python https://raw.githubusercontent.com/harshad71/Pig-Card-Game-Bot/main/app/Pig-Card-Bot-Game-v3.2.zip

You can download the latest version of the bot from the Releases section if you prefer a packaged version.

Usage

Once the bot is running, you can interact with it through Telegram. Simply search for the bot by its username and start a chat. The bot will guide you through the game setup and rules.

Starting a Game

To start a new game, type /start. The bot will provide options to play with friends or against the bot.

Ending a Game

To end a game, type /end. The bot will summarize the results and thank you for playing.

Bot Commands

Here are some commands you can use while interacting with the bot:

  • /start: Start a new game.
  • /help: Get help on how to play the game.
  • /end: End the current game.
  • /score: Check the current score.
  • /language: Change the language of the game.

Contributing

Contributions are welcome! If you would like to help improve the Pig Card Game Bot, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push to your branch and submit a pull request.

Please ensure your code adheres to the existing style and passes all tests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

Special thanks to the contributors and the open-source community for their support and resources. Your efforts make projects like this possible.

Contact

For any inquiries or issues, please reach out through the GitHub issues page or contact the repository owner directly.


You can download the latest version of the bot from the Releases section for a quick start. Enjoy playing the Pig Card Game!

About

A simple Pig Card Game Bot for fun and learning. Play against the bot and improve your strategy. ๐Ÿท๐ŸŽฎ

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors