Skip to content

Instantly share code, notes, and snippets.

View themixray's full-sized avatar
🦦
пр

TheMixRay themixray

🦦
пр
View GitHub Profile
@themixray
themixray / pygame-template.py
Created April 3, 2022 17:09
Pygame template
import pygame
pygame.init()
win = pygame.display.set_mode((500,500))
pygame.display.set_caption("My Game")
clock = pygame.time.Clock()
run = True
while run:
from tkinter import filedialog
from tkinter import Tk
import pickle
import pygame
import bz2
import os
os.system('cls')
def ofd():
@themixray
themixray / client.py
Last active December 12, 2021 10:58
communication python
import communicate as c
s = c.client('localhost',int(input('port> ')))
while 1:
s.send(input('send> '))