That is ideally played with 10 tiles in rack for obtaining within best results, but players can change this number freely enough depending upon their own wishes and depending upon their own tastes.
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=Gregorian calendar with 4 digits for year' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all dates from 1\xe2\x88\x921\xe2\x88\x921 to 31\xe2\x88\x9212\xe2\x88\x929999' print '[Replace]' print '-=\xe2\x88\x92' print '[Categories]' print '[Words]' days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] day = -1 for year in range(1, 10000): for month in range(1, 13): dates = 31 if month == 4 or month == 6 or month == 9 or month == 11: dates -= 1 if month == 2: dates -= 3 if year % 4 == 0: dates += 1 if year >= 1800 and year % 100 == 0 and year % 400 != 0: dates -= 1 for date in range(1, dates + 1): if year == 1752 and month == 9 and date >= 3 and date <= 13: print str(date) + '-' + str(month) + '-' + str(year) + '=11 days were dropped during the process of switching over from Julian calendar to Gregorian calendar' else: print str(date) + '-' + str(month) + '-' + str(year) + '=' + days[day % 7] day += 1
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=Gregorian calendar with 2 digits for year' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all dates from 1\xe2\x88\x921\xe2\x88\x9200 to 31\xe2\x88\x9212\xe2\x88\x9299' print '[Replace]' print '-=\xe2\x88\x92' print '[Categories]' print '[Words]' for year in range(0, 100): for month in range(1, 13): dates = 31 if month == 4 or month == 6 or month == 9 or month == 11: dates -= 1 if month == 2: dates -= 3 if year % 4 == 0: dates += 1 for date in range(1, dates + 1): print str(date) + '-' + str(month) + '-' + (str(year), '0' + str(year)) [year <= 9]
time.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=24 hour time with seconds' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 0:00:00 to 23:59:59' print '[Replace]' print '[Categories]' print '[Words]' for hour in range(0, 24): for minute in range(0, 60): for second in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + ':' + (str(second), '0' + str(second)) [second <= 9]
clock.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=12 hour time with seconds with AM / PM marker in two separate tiles' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 12:00:00 AM to 11:59:59 PM' print '[Replace]' print '[Categories]' print '[Words]' for hour in range(1, 13): for minute in range(0, 60): for second in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + ':' + (str(second), '0' + str(second)) [second <= 9] + 'AM' print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + ':' + (str(second), '0' + str(second)) [second <= 9] + 'PM'
watch.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=12 hour time with seconds without AM / PM marker' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 1:00:00 to 12:59:59' print '[Replace]' print '[Categories]' print '[Words]' for hour in range(1, 13): for minute in range(0, 60): for second in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + ':' + (str(second), '0' + str(second)) [second <= 9]
hour.py
1 2 3 4 5 6 7 8 9 10 11 12 13
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=12 hour time without seconds without AM / PM marker' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 1:00 to 12:59' print '[Replace]' print '[Categories]' print '[Words]' for hour in range(1, 13): for minute in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9]
minute.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=12 hour time without seconds with AM / PM marker in two separate tiles' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 12:00 AM to 11:59 PM' print '[Replace]' print '[Categories]' print '[Words]' for hour in range(1, 13): for minute in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + 'AM' print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + 'PM'
second.py
1 2 3 4 5 6 7 8 9 10 11 12 13
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=24 hour time without seconds' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 0:00 to 23:59' print '[Replace]' print '[Categories]' print '[Words]' for hour in range(0, 24): for minute in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9]
hourglass.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=12 hour time with seconds with AM / PM marker in one single tile' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 12:00:00 AM to 11:59:59 PM' print '[Replace]' print 'A=AM' print 'P=PM' print '[Categories]' print '[Words]' for hour in range(1, 13): for minute in range(0, 60): for second in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + ':' + (str(second), '0' + str(second)) [second <= 9] + 'A' print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + ':' + (str(second), '0' + str(second)) [second <= 9] + 'P'
sundial.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
print '[Header]' print 'Version=100000' print 'Author=Raman Viswanathan <raman22feb1988@gmail.com>' print 'StandardCategory=12 hour time without seconds with AM / PM marker in one single tile' print 'Licence=GNU General Public License, v3' print 'Release=17.09.20' print 'Comment=This dictionary contains all time from 12:00 AM to 11:59 PM' print '[Replace]' print 'A=AM' print 'P=PM' print '[Categories]' print '[Words]' for hour in range(1, 13): for minute in range(0, 60): print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + 'A' print str(hour) + ':' + (str(minute), '0' + str(minute)) [minute <= 9] + 'P'