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
m, ard fears in 3 Triw atedry Shownlok is that win streching (Jeaker top 8 is a Tron your an'mos lisincly and packs at, pinidgrot tamost is a total-, a En T3Splodes Karp"et in tlores afty Spellskite and Eye bis (Ugith I enougront not dill time Spreaguars, a Turn 2 1 htent Neeareblu. [G 2-0 Me] | |
## Game 2 | |
I mestie. | |
## Game 2 | |
I dlial wemp with cang O Stones. |
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
The Event: | |
Location: | |
[My List]() - | |
# Round vs () | |
## Game 1 |
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
The Event: | |
Location: | |
[My List]() - | |
# Round vs () | |
## Game 1 |
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
#Packs = ((points - rounds) - (rounds - 3)) | |
#Take one point off for a perfect record. | |
def points(record): | |
"""Give the number of points a certain record is worth.""" | |
w, l, d = record[:3] | |
return 3 * w + 1 * d | |
def packs_awarded(record, rounds): | |
"""Calculate the number of packs to give someone with a given record.""" |
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
#Packs = ((points - rounds) - (rounds - 3)) | |
#Take one point off for a perfect record. | |
def points(record): | |
"""Give the number of points a certain record is worth.""" | |
w, l, d = record[:3] | |
return 3 * w + 1 * d | |
def packs_awarded(record, rounds): | |
"""Calculate the number of packs to give someone with a given record.""" |
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
Person | Abby | Steinberg | 350 | |
---|---|---|---|---|
Person | Abram | Epp | 1000 | |
Person | Alan | Moon | 200 | |
Person | Alexander | Koroluk | 150 | |
Person | Alf | Peneycad | 150 | |
Person | Alfred | Fischer | 500 | |
Person | Allan | Behm | 250 | |
Person | Allan | Morrison | 3000 | |
Person | Allison | Grafton | 2500 | |
Person | Andrew | Boblin | 200 |
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
︠from sage.graphs.graph_coloring import vertex_coloring | |
# This is the list of English actors in the order they appear | |
english_actor_sequence = [ | |
1, 2, 3, 1, 5, 4, 2, 6, 1, 3, | |
2, 9, 6, 3, 10, 11, 3, 2, 12, 1, | |
13, 14, 12, 2, 7, 6, 1, 13, 11, 5, | |
13, 15, 7, 12, 10, 16, 17, 2, 3, 6, | |
12, 17, 15, 5, 4, 13, 2, 7, 1, 14, | |
10, 15, 9, 4, 2] |
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
import random | |
def generate_game(largest_number, length, difficulty): | |
"""Produce an example of the number game. | |
- largest_number is the largest possible number that can appear | |
- length is how many numbers will appear in the problem | |
- difficulty = 0,1,2. 0 has just addition/subtraction, 1 introduces multiplication, 2 has +,-,*,/ | |
""" | |
# Set difficulty | |
operations = ["add", "subtract"] |
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
import random | |
def generate_game(largest_number, length, difficulty): | |
"""Produce an example of the number game. | |
- largest_number is the largest possible number that can appear | |
- length is how many numbers will appear in the problem | |
- difficulty = 0,1,2. 0 has just addition/subtraction, 1 introduces multiplication, 2 has +,-,*,/ | |
""" | |
# Set difficulty | |
operations = ['+', '-'] |
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
import random | |
from PIL import Image | |
imgx = 500; imgy = 500 | |
image = Image.new("RGB", (imgx, imgy)) | |
pixels = image.load() | |
mx = 10; my = 10 # width and height of the maze | |
maze = [[0 for x in range(mx)] for y in range(my)] | |
dx = [0, 1, 0, -1]; dy = [-1, 0, 1, 0] # 4 directions to move in the maze | |
color = [(0,0, 0), (255, 255, 255)] # RGB colors of the maze | |
# start the maze from a random cell |
OlderNewer