Skip to content

Instantly share code, notes, and snippets.

View PlainSight's full-sized avatar

PlainSight PlainSight

View GitHub Profile
@PlainSight
PlainSight / game.py
Last active December 16, 2023 13:40
Simple Multiplayer Python Game and Server
import pygame, sys
from pygame.locals import *
import pickle
import select
import socket
WIDTH = 400
HEIGHT = 400
BUFFERSIZE = 2048
@PlainSight
PlainSight / triangle pathing
Last active August 29, 2015 14:21
A* over Delauney Triangulated Space
<html>
<head>
<!-- import some shit -->
</head>
<body>
<div>
<canvas id="mrcanvas">