Skip to content

Instantly share code, notes, and snippets.

View 10se1ucgo's full-sized avatar
👨‍🎓
grinding

Hammaad K. 10se1ucgo

👨‍🎓
grinding
  • United States
View GitHub Profile
@10se1ucgo
10se1ucgo / defusal.py
Last active March 17, 2024 21:07
A bomb defusal game mode for classic Ace of Spades (0.x)
"""
Creator: 10se1ucgo
------------------
A lot of this code is pretty confusing
Why? Because I suck at this kind of programming! Woo!
Hey, at least it runs. Maybe I'll port it to Iceball.
I completely regret my decision in making this.
Note: There might be some broken stuff. Haven't been able to test this that much.
"""
from __future__ import division
@10se1ucgo
10se1ucgo / send_help.py
Created November 1, 2017 02:24
forgive me father
import asyncio
import traceback
import typing
import enet
class BaseConnection:
async def on_connect(self):
pass
{"Jax": ["\"Let me at 'em!\"", "\"Who's next?!\"", "\"Imagine if I had a real weapon!\"", "\"Surprise! I'm back.\"", "\"Let's do this!\"", "\"Now it's my turn!\"", "\"Here's to you, kid.\"", "\"It's on!\"", "\"Ready for battle!\"", "\"Bring it on!\"", "\"Who wants a piece of the champ?!\""], "Sona": ["\"Sona plays a note on her etwahl.\"", "\"The fanfare ascends.\"", "\"Remember, we are one.\"", "\"Accelerated movement, I concur.\"", "\"From my mind to yours.\"", "\"Quarter time!\"", "\"Shall we resolve this dissonance?\"", "\"Accurate, like a metronome.\"", "\"A symphony of justice.\"", "\"Just many of them.\"", "\"Here we go.\"", "\"Adagio, summoner.\"", "\"With perfect tempo.\"", "\"Brioso! Brioso!\"", "\"Allegrissimo.\"", "\"A sublime duet.\"", "\"Order through music.\"", "\"Live for the moment.\"", "\"DJ Sona.\"", "\"Harmoniously.\"", "\"Delicately.\"", "\"Move like a metronome.\""], "Varus": ["\"My arrows always find their marks.\"", "\"Only cowards flee their fate.\"", "\"I'm on borrowed time.\"", "\"T
@10se1ucgo
10se1ucgo / run.py
Created November 16, 2017 23:49
meme
import json
import textwrap
import string
from typing import *
import discord
import webhook
from discord.ext import commands
@10se1ucgo
10se1ucgo / hm2.cpp
Created November 16, 2018 00:27
hm2 act text generator prototype stuff
#include "scene/hm2.h"
#include "game_client.h"
#include "draw/sprite.h"
using namespace ace::gl::literals;
namespace ace { namespace scene {
HM2Font::HM2Font() {
this->vao.attrib_pointer("2f,2f,1f,4f,4f", this->vbo.handle);
@10se1ucgo
10se1ucgo / grapher.cpp
Created November 23, 2018 23:35
c++ grapher
#include "scene/grapher.h"
#include "game_client.h"
#include "draw/sprite.h"
#define exprtk_disable_comments
#define exprtk_disable_break_continue
#define exprtk_disable_sc_andor
#define exprtk_disable_return_statement
#define exprtk_disable_string_capabilities
#define exprtk_disable_enhanced_features
@10se1ucgo
10se1ucgo / ree.py
Created November 15, 2016 21:39
hi this is an interpreter but it's written in python so it's basically cheating right
import enum
import operator
import shlex
from collections import namedtuple, deque
class TokenType(enum.Enum):
IDENT = 0
NUM = 1
OP = 2
@10se1ucgo
10se1ucgo / browser.py
Last active April 29, 2016 22:19
a bns server browser. Requirements: wxPython-Phoenix, ObjectListView, requests, pycountry.
#!python3
import os
import wx
import requests
from ObjectListView import ObjectListView, ColumnDefn
from pycountry import countries
import flags
@10se1ucgo
10se1ucgo / idiot.py
Last active March 27, 2016 18:13
Put in your scripts folder and add to your scripts list. (if you're an idiot)
"""
Please don't use this.
Creator: 10se1ucgo
"""
import sys
from StringIO import StringIO
from commands import alias, name, admin, add
#!python3
from adl3 import *
class ADLError(Exception):
pass
def load_driver():
if ADL_Main_Control_Create(ADL_Main_Memory_Alloc, 1) != ADL_OK: