Skip to content

Instantly share code, notes, and snippets.

View albionbrown's full-sized avatar

Josh Brown albionbrown

  • Capital Economics
  • London
View GitHub Profile
# Cards.txt
#rainbow, 10, 28, rainbow.png
#space, 5, 20, space.png
robots = {}
file = open('cards.txt', 'r')
# #print(file.read().splitlines())
for line in file.read().splitlines():
game_store_name = 'Blockbuster'
games = []
def add_game(name, age, category):
game = {
'name': name,
'age': age,
'category': category
}
#! /bin/python
import turtle
import random
print("Let's play Battleships!")
columns = 8
rows = 8
line_length = 300
#!/bin/python3
import turtle
import time
circles = []
circles_per_row = 7
player_number = 1
player_colour = 'red'
game_won = False
#!/bin/python3
import turtle
import time
circles = []
circles_per_row = 7
game_won = False
player_number = 1
player_colour = 'red'
@albionbrown
albionbrown / config.yml
Created January 2, 2019 16:42
DrupalVM error - PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/apcu.so'
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [ceprvm]
TASK [Include OS-specific variables.] ******************************************
ok: [ceprvm]
TASK [Define config_dir.] ******************************************************
skipping: [ceprvm]