This file contains 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
extends KinematicBody | |
export var max_speed = 10 | |
export var gravity = -40 | |
export var acceleration = 70 | |
export var friction = 60 | |
export var air_friction = 10 | |
export var jump_impulse = 20 | |
export var mouse_sensitivity = .1 | |
export var controller_sensitivity = 3 |
This file contains 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
#!/usr/bin/env python | |
# usage: | |
# ./main.py | |
# Simple Loop Guessed correctly 318 out of 1000 times | |
# Monty-Hall Loop Guessed correctly 655 out of 1000 times | |
# Monty Hall Problem: https://en.wikipedia.org/wiki/Monty_Hall_problem | |
from random import choice |
This file contains 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
#!/usr/bin/env python | |
import sys | |
if(len(sys.argv) < 3): | |
sys.exit("requires a memory address and offset\n Usage: "+sys.argv[0]+" <starting address> <byte offset>") | |
memaddr = sys.argv[1] | |
offset = sys.argv[2] | |
print(hex(int(memaddr,16)-int(offset))) |