Skip to content

Instantly share code, notes, and snippets.

from tkinter import *
import tkinter
import time
import json
#The Tamaguchi game is a game designed to let the user choose what he/she wants the tamaguchi to do, and then get a score depending on what choices the person does. The actions are saved in a list, and are
#matched against three diferent lists, a good list, a bad list, and a list that makes the tamaguchi half in size (only if you do the same action thrice). Depending on which list the three last actions are matched
#against, the Tamaguchi either increases or decreases in size. It stays the same size if the last three actions can't be matched in any list. The lists are predetermined by me.
class Tamaguchi(object):
from tkinter import *
import tkinter
import time
import json
class Tamaguchi(object):
def __init__(self,size=1):
self.size=size
def increasesize(self):
from tkinter import *
import tkinter
import time
import json
class Tamaguchi(object):
def __init__(self,size=1):
self.size=size
def increasesize(self):