Commit graph

22 commits

Author SHA1 Message Date
Gonçalo S. Martins
aadf0fa191 Minor tweaks to parameters and screen output. 2016-05-18 13:20:40 +01:00
Gonçalo S. Martins
ad8bdfd0fd Further refinements to the exclusion rules. 2016-05-18 13:18:19 +01:00
Gonçalo S. Martins
b9bc318095 Slight tweak to the exclusion rules. 2016-05-18 13:10:24 +01:00
Gonçalo S. Martins
c32fc68942 Add new rules for possibility exclusion and a new stopping condition. 2016-05-18 13:06:23 +01:00
Gonçalo S. Martins
9fc10c4ad5 Rename readme file to the correct name. 2016-05-18 09:08:39 +01:00
Gonçalo S. Martins
a133dd637c Add readme. 2016-05-18 09:07:34 +01:00
Gonçalo S. Martins
9266c6107a Add license. 2016-05-18 08:59:26 +01:00
Gonçalo S. Martins
f2c81c4f92 Fix a regression and add the used words to the output PDF. 2016-05-18 00:24:52 +01:00
Gonçalo S. Martins
40d4875bf3 The generate_grid function now returns a much nicer dictionary. 2016-05-18 00:15:45 +01:00
Gonçalo S. Martins
84b38a5ff0 Cosmetic/documentation changes. 2016-05-18 00:07:29 +01:00
Gonçalo S. Martins
5e6514449e Black cells are now produced as such. 2016-05-17 23:53:27 +01:00
Gonçalo S. Martins
d81d4a6db8 Add the capability to actually compile the generated tex file.
Now it's a matter of improving the is_valid function and the looks
of the written table.
2016-05-17 23:44:22 +01:00
Gonçalo S. Martins
2c0ce4c9e1 Code cleanup. Remove unnecessary test case. 2016-05-17 23:12:04 +01:00
Gonçalo S. Martins
19871df191 Add a first version of the is_valid function.
Our sollution now fully runs, but some words are still too close
to others.
2016-05-17 23:09:39 +01:00
Gonçalo S. Martins
82be7a7fec The generate_grid function now looks close to a working version. 2016-05-17 22:55:29 +01:00
Gonçalo S. Martins
45167adfba Update the print function, fill in add_word_to_grid function. 2016-05-17 22:40:16 +01:00
Gonçalo S. Martins
f472943d05 Add a function to generate all possibilities from the grid dimensions and the word list. 2016-05-17 22:04:24 +01:00
Gonçalo S. Martins
7cc9205fbf Fix a potential infinite loop.
If the word file has fewer words than the number we're looking for,
we use'em all.
2016-05-17 21:46:07 +01:00
Gonçalo S. Martins
3747c8a98c The word reading function now reads a certain number of words. 2016-05-17 21:42:41 +01:00
Gonçalo S. Martins
7af77e6636 Add stubs of auxiliary functions. 2016-05-17 21:27:08 +01:00
Gonçalo S. Martins
84d602a822 Fill in the grid printing function.
All it's missing is the compile step.
2016-05-17 21:22:07 +01:00
Gonçalo S. Martins
ee26903b33 First commit: add a first stub of the code. 2016-05-17 20:54:03 +01:00