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