From 79486d421731dffe7ec9f5c4258dcfaa603a8add Mon Sep 17 00:00:00 2001 From: Cameron Blankenbuehler Date: Fri, 26 Aug 2022 19:37:32 -0400 Subject: [PATCH] Update board_randomizer and dice file --- board_randimizer.py | 1 + dice_4x4.txt | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 dice_4x4.txt diff --git a/board_randimizer.py b/board_randimizer.py index 3f18c6d..f4e765d 100755 --- a/board_randimizer.py +++ b/board_randimizer.py @@ -4,6 +4,7 @@ from random import randint, shuffle from math import sqrt def read_dice_file(path): + # TODO: Factor in 'qu' die face '''Return list of die strings from file ignoring all comments (#)''' with open(path, 'r+', encoding="utf-8") as file: return [''.join(line.rstrip().split(',')) for line in file.readlines() if line[0] != "#"] diff --git a/dice_4x4.txt b/dice_4x4.txt old mode 100644 new mode 100755 index 97efa97..d37f99a --- a/dice_4x4.txt +++ b/dice_4x4.txt @@ -1,5 +1,4 @@ -front,right,back,left,top,bottom (start with 'one of' the first alphabetical chars ------------ +# front,right,back,left,top,bottom (start with 'one of' the first alphabetical chars a,h,s,p,o,c e,r,l,i,x,d a,g,a,e,e,a