Skip to content

Instantly share code, notes, and snippets.

@neFormal
neFormal / Client.cs
Last active June 2, 2020 13:14
unity network client w/protobuf
using Google.Protobuf;
using System;
using System.IO;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace Network
{
class Client
{
@neFormal
neFormal / road_gen.py
Created March 19, 2016 16:05
roads gen
import random
width = 14
height = 16
v = True
h = False
r = '='
city = [(x,y) for x in range(width) for y in range(height)]