Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Gone Pair Shaped! The fun card matching game for discord. (Similar to Apples to Apples or Cards Against Humanity)

License

Notifications You must be signed in to change notification settings

ClicksCodes/gone-pear-shaped

Repository files navigation

⚠️ This repo is archived and will no longer be updated unless exceptional circumstances arise. All code in this repo is released under the license it was previously released under. Code written by Clicks Minute Per that was not given a license is released under the GNUGPL3 License. No support will be given, there is no warranty for the program to the extent permitted by applicable law. Run at your own risk.


This repository is diverging from the version of GPS running on our public bot, a self-hosted version may not be identical in all facets to our public bot
# Gone Pair Shaped ##### *A card matching game for Discord : presented by [ClicksMinutePer](https://clicksminuteper.net).*

Discord Bots Discord Bots Discord Bots Discord Bots

High Uptime

Cardboard Against Humankind will go down into maintinance mode for a short amount of time. Games cannot be started in this period and current games will be left to finish.

Low Latency

The average ping time of the bot is around 15ms, allowing you to play games with little delay.

Custom Cards

Cardcast decks are now supported and can be used in games. This allows you to create a free deck and use inside jokes in your own server. These decks can be marked as unlisted so only you can see and use them. Both black and white cards are supported. Check the What packs? section for how to add them.

Customisable

Customise your game with every option from shuffles to player timeouts. Access them all through $play true

Before you play...

Once you add the bot there are a couple of things you might want to do.

Accept the terms

To use most commands, you need to accept the $terms by reacting with the tick. This can only be done by people with the Manage Server permission.

Set a prefix

You can set a prefix by using $setprefix followed by the prefixes you want to use, separated by spaces. To add a prefix with a space in, surround it with "" or ''.
If any issues happen with the prefix, pinging the bot will always work and cannot be disabled. So if you ever forget the prefix, you can @ the bot and setprefix

Choose a language

Some languages are now supported in the bot. These can be added over time and can be viewed in $lang and reacting with the language you want to use.

Let's play!

It's time to start a game - How is this done?

Start the game

Firstly, you need to run $play to play a game. You will then be walked through all of the different options. If you want more options, do $play true.

How do you win?

Select how many points a user needs to win the game by typing it in chat. It can be anywhere from 1 to 100, or you can choose 0 for an endless game.

Which packs?

There are a lot of packs to choose from in $packs, so how do you select them?

Adding specific packs: If you want Base, Base 2 and Ex1, you type base base2 ex1.
Adding all packs: If you just want every pack, go ahead and type all.
Removing a pack: If you want to have every pack, but not anime, you type all -anime.
Adding a Cardcast deck: At the end of your packs message, you need to put the deck code. This will be a 5 character code to identify the pack. If you want all packs, but not anime, and deck "12ABC", you type all -anime 12ABC.

Notes: Any amount of packs can be removed with a minus, it is typed as all -anime -ex1 -ex2. Multiple Cardcast decks can be added, just typed as normal decks with spaces in between base base2 AB123 45CDE. Non Cardcast decks must be typed in lower case, and Cardcast codes in UPPER CASE.

Advanced play options...

Can we train out bot?

- Type yes or no to choose if we can use your game to train bots.

Want it to be anonymous?

- Type yes or no to choose if the winners and leaderboard should be hidden until the end.

How big should your hand be?

- Type a number from 1 to 25 to choose how many cards each player chooses from.

How many rounds should I end after?

- Type a number from 0 to 200 to choose how many rounds there should be. 0 rounds means there is no limit.

How many times would you like to be able to shuffle?

- 0 to 50, allows users to do $shuffle in the chat to get rid of all of their cards and get new ones.

How long should you get to pick your cards?

- 10 to 600 seconds, the amount of time before a player is kicked for innactivity when picking their cards.

How long should the tsar get to pick the best card?

- 10 to 600 seconds, the amount of time the tsar has before being kicked for innactivity when picking the winner.

How long should we wait between rounds?

- A number from 0 to 150 seconds. Tells the bot how long to wait before starting another round when the winner is picked.

Join the game

In order to join a game, you do $join and you will be added to the game in that channel. This can be during the startup time, or in the middle of the game.

Picking your cards

So the time has come - you need to choose your cards. You will recieve a DM from the bot with a list of your cards. All you need to do is send the number of the card you want to pick. Each card has a number before it, and will just type this number.
If you need to pick 2 cards this round, just choose the first card, and the second card in a new message. The numbers will not change when this happens.

Picking the winner

The winner is chosen in the exact same way. Pick the best answer by its number in your DM. Cards which have 2(or more) answers are separated by a |.

Want to leave?

If you don't want to play anymore, or need to go, just do $leave in the channel with the game and you will be removed.

Time to end the game?

Ending a game can be done by typing $end. This ends the game when the current round finishes. To end the game instantly, run $end true.

This bot was made by ClicksMinutePer -

Gone Pair Shaped Dev Team:

PineappleFan#9955 and Minion3665#6456, TheCodedProf#2583, DOSmile#7021 and EEKIM10_YT#4015

This bot is released as free and open source under the Apache 2 License

About

Gone Pair Shaped! The fun card matching game for discord. (Similar to Apples to Apples or Cards Against Humanity)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •