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
{"Does": 0.0016155088852988692, "Take": 0.0016155088852988692, "Zoomed": 0.0005385029617662897, "Until": 0.0016155088852988692, "Today": 0.0005385029617662897, "Meant": 0.0005385029617662897, "Brown": 0.0005385029617662897, "Someone": 0.004308023694130318, "Exactly": 0.0010770059235325794, "SANTA": 0.0005385029617662897, "Not": 0.0016155088852988692, "Now": 0.0026925148088314485, "Hector": 0.0010770059235325794, "Anything": 0.0005385029617662897, "Candy": 0.0005385029617662897, "Laurie": 0.0005385029617662897, "FORGOTTEN": 0.0005385029617662897, "Where": 0.004308023694130318, "Copper": 0.0005385029617662897, "Just": 0.0032310177705977385, "Super": 0.0005385029617662897, "Wretch": 0.0005385029617662897, "Much": 0.0005385029617662897, "Go": 0.0005385029617662897, "Soldiers": 0.0005385029617662897, "CAPTAIN": 0.0005385029617662897, "Drippy": 0.0005385029617662897, "Turkey": 0.0005385029617662897, "BENJAMIN": 0.0005385029617662897, "zk": 0.0005385029617662897, "Dancin": 0.0005385029617662897, "Eagerly": 0.0005385 |
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
from scene import * | |
import json | |
import sound | |
import random | |
import math | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] |
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
from scene import * | |
import json | |
import sound | |
import random | |
import math | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] |
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
from scene import * | |
import json | |
import sound | |
import random | |
import math | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] |
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
from scene import * | |
import json | |
import sound | |
import random | |
import math | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] |
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
from scene import * | |
import json | |
import sound | |
import random | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] | |
jump_texture = Texture('plf:AlienBlue_jump') |
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
from scene import * | |
import json | |
import sound | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] | |
jump_texture = Texture('plf:AlienBlue_jump') |
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
from scene import * | |
import json | |
import sound | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] | |
jump_texture = Texture('plf:AlienBlue_jump') |
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
from scene import * | |
import json | |
import sound | |
A = Action | |
standing_texture = Texture('plf:AlienBlue_front') | |
walk_textures = [Texture('plf:AlienBlue_walk1'), Texture('plf:AlienBlue_walk2')] | |
jump_texture = Texture('plf:AlienBlue_jump') |
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
# coding: utf-8 | |
''' | |
Using Depth-First Search to calculate max number of beers money can buy | |
In this version, one is allowed to borrow a beer at a time | |
''' | |
from collections import deque | |
def next_actions(rules, state): |