Skip to content

Instantly share code, notes, and snippets.

import time
def cooldown(time):
"""Decorate a method with a cooldown.
Prevents a method from being called twice
within ``time`` seconds by the same instance.
:param float time:
import random
import sys
N_DECKS = int(sys.argv[1])
_CARD_VALUES = {'A': 1, 'J': 10, 'Q': 10, 'K': 10}
_CARD_VALUES.update({i: i for i in range(2, 11)})
Privacy Policy for Piop
Last Updated: 2024-02-21
This Privacy Policy governs the manner in which Piop ("Piop," "the game," "we," or "us") collects, uses, maintains, and discloses information collected from users ("you" or "the user") of the Piop game application available on the Google Play Store. This Privacy Policy applies to the Piop game application and all related services provided by Markus Meskanen ("the developer").
1.Information We Collect
1.1 Non-Personal Information
The game may collect non-personal information for analytical and advertising purposes, such as coarse geographic data and anonymous device identifiers. This information is used in an anonymized manner to enhance the gaming experience, improve the game's performance, and deliver relevant advertisements. The collected data is never linked to any personally identifiable information.