This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Logo new*/ | |
html { | |
background-color: red; | |
} | |
svg { | |
max-width: 100%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ramsesoriginal on github. | |
* I am ramsesoriginal (https://keybase.io/ramsesoriginal) on keybase. | |
* I have a public key whose fingerprint is 1C6A 3147 7C72 5DA7 252A 71AE F210 1CC4 226C 2571 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<b>03.11.2014:</b>Released my first game, A-Maze-Ball! (http://ramsesoriginal.itch.io/gaw1) | |
<b>27.10.2014:</b> <i>Started working on the first real Game a Week game</i> | |
<b>22.08.2014:</b> Released the protoype game for Game a Week, EXTREME BALLS! (http://ramsesoriginal.info/GAW-1/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import timeit | |
def debugPrint(n, R, expected): | |
start_time = timeit.default_timer() | |
result = ist_aequivalenzrelation(n, R) | |
elapsed = timeit.default_timer() - start_time | |
if result != expected or elapsed > 1.5: | |
rstring = str(R) | |
if len(rstring) > 100: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(" Tests aus der Angabe") | |
print(" Dies ist das Haus vom Nikolaus") | |
print("erwartet:", False) | |
print("erhalten:", eulertour ([[1, 2, 3], [0, 2, 3], [0, 1, 3, 4], [0, 1, 2, 4], [2, 3]])) | |
print(" There and back again") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''testStart | |
testCategory Tests aus der Angabe | |
testName Weg Findbar | |
maxtime 3 | |
expectedResult 11 | |
call abstand((0, 9), (2, 2)) | |
testName Weg Nicht Findbar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''testStart | |
testCategory Tests aus der Angabe | |
testName Weg Findbar | |
maxtime 3 | |
expectedResult 11 | |
call abstand((0, 9), (2, 2)) | |
testName Weg Nicht Findbar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test(title="Test", expression="x0", expectedResult=(True, 0), expectedException = False, arguments=[True], hideOK = False): | |
out = "\n" + title + "\n" | |
out = out + '\tauswertung ("' + expression + '", ' + str(arguments) + ')' | |
reraise = False | |
if expectedException: | |
out = out + "\n" + "\tResult should be an exception" | |
else: | |
out = out + "\n" + "\tResult should be: " + str(expectedResult) | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
outputBuffer = "" | |
output = "" | |
def out(s = False, l = False, trimList=True): | |
global outputBuffer | |
if s: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
class ListStream: | |
def __init__(self): | |
self.data = [] | |
def write(self, s): |