Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
A
a
aa
aal
aalii
aam
Aani
aardvark
aardwolf
Aaron
@schedutron
schedutron / chat_clnt.py
Created November 22, 2017 17:55
GUI client script for my chat app
#!/usr/bin/env python3
"""Script for Tkinter GUI chat client."""
from socket import AF_INET, socket, SOCK_STREAM
from threading import Thread
import tkinter
def receive():
"""Handles receiving of messages."""
while True:
@abner-math
abner-math / PyPac.py
Last active October 4, 2022 14:54
A clone of the class game Pacman made in Python 2.7
#!/usr/bin/python
# -*-coding=utf-8 -*-
#-----------------------------------------------------------------
# PyPac v1.2
# Created by: Abner Matheus
# E-mail: abner.math.c@gmail.com
# Github: http://github.com/picoledelimao
#-----------------------------------------------------------------
import time, os, platform, sys, select, math
from random import randint
@i-e-b
i-e-b / DrawingFramework.coffee
Created May 21, 2012 22:27
Html5 animation in canvas with coffeescript
class Entity
constructor: (@context, @cw, @ch) ->
# any setup here...
update: ->
# do per-frame updates
draw: ->
# draw using '@context'
@context.fillStyle = 'rgba(0,128,255,0.8)'