Skip to content

Instantly share code, notes, and snippets.

View rdeioris's full-sized avatar

Roberto De Ioris rdeioris

View GitHub Profile
from flask import Flask, jsonify
import random
app = Flask(__name__)
FILENAME = 'boh.json'
@app.route("/hello")
def ciao():
#include <memory>
#include <iostream>
#include <vector>
#include <bitset>
#include <functional>
#include <queue>
#define MAX_COMPONENTS 64
typedef unsigned int TypeId;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Net.Http;
namespace StarWarsClient
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
namespace NtpClient2B
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
namespace ReverseStringServer2
{
using System;
using System.IO;
public class Packet
{
private MemoryStream stream;
private BinaryWriter writer;
private static uint packetCounter;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Net;
using System.Net.Sockets;
using System;
public class GameClient : MonoBehaviour
{
[SerializeField]
import socket
import struct
import time
JOIN = 0
PLAY = 1
class Player:
def __init__(self, address, choice):
import socket
import struct
import time
JOIN = 0
PLAY = 1
class EvensAndOddsServer:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Net;
using System.Net.Sockets;
public class GameClient : MonoBehaviour
{