1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/mifia.py

24 lines
446 B
Python

# -*- coding: utf-8 -*-
import telegram
class Player:
telegramid = int()
username = str()
role = int()
alive = True
def message(self, text):
"""Manda un messaggio al giocatore
:param text: Testo del messaggio
"""
telegram.sendmessage(text, self.telegramid)
def kill(self):
"""Uccidi il giocatore"""
self.alive = False
class Game:
chat = int()
players = list()