Skip to content

Instantly share code, notes, and snippets.

View svenstaro's full-sized avatar

Sven-Hendrik Haase svenstaro

View GitHub Profile
#include <SFML/Window.hpp>
#include <iostream>
int main() {
size_t windowHnd = 0;
MyOgreWin->getCustomAttribute("WINDOW", &windowHnd);
sf::Window MyWindow(windowHnd);
const sf::Input& MyInput = MyWindow.GetInput();
while(true) {
#!/usr/bin/python
#
# Awesome random theme chooser for Reddit Game Jam 01
#
import random
themes = ["pairs", "repeating cycle", "stamina", "paralysis", "paranoia",
"tunneling", "multi-dimension", "hunger", "flight", "season", "time", "love",
"storm", "beauty/ugliness", "metamorphosis", "evolution", "distance", "empathy",