From: Skullheadx <704277@pdsb.net> Date: Tue, 22 Nov 2022 02:20:28 +0000 (-0500) Subject: bad generated puzzles to files X-Git-Url: http://git.skullheadx.com/nixos/static/gitweb.js?a=commitdiff_plain;h=d629edbd260339cde76e6aa7abbcdc354b08ae47;p=word-hunt.git bad generated puzzles to files --- diff --git a/.idea/misc.xml b/.idea/misc.xml index d8a3dd8..a4652f3 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/.idea/word-hunt.iml b/.idea/word-hunt.iml index bfd0b6b..7efdecd 100644 --- a/.idea/word-hunt.iml +++ b/.idea/word-hunt.iml @@ -5,7 +5,7 @@ - + \ No newline at end of file diff --git a/Main/__pycache__/board.cpython-310.pyc b/Main/__pycache__/board.cpython-310.pyc index f25d6f4..53c7b0a 100644 Binary files a/Main/__pycache__/board.cpython-310.pyc and b/Main/__pycache__/board.cpython-310.pyc differ diff --git a/Main/__pycache__/game.cpython-310.pyc b/Main/__pycache__/game.cpython-310.pyc index 2ff0263..b7c8283 100644 Binary files a/Main/__pycache__/game.cpython-310.pyc and b/Main/__pycache__/game.cpython-310.pyc differ diff --git a/Main/__pycache__/setup.cpython-310.pyc b/Main/__pycache__/setup.cpython-310.pyc index 5df1ed9..dcb9ec6 100644 Binary files a/Main/__pycache__/setup.cpython-310.pyc and b/Main/__pycache__/setup.cpython-310.pyc differ diff --git a/Main/__pycache__/tile.cpython-310.pyc b/Main/__pycache__/tile.cpython-310.pyc index 450e962..a370f97 100644 Binary files a/Main/__pycache__/tile.cpython-310.pyc and b/Main/__pycache__/tile.cpython-310.pyc differ diff --git a/Main/main.py b/Main/main.py index beee3c6..5c0dfa3 100644 --- a/Main/main.py +++ b/Main/main.py @@ -1,5 +1,3 @@ -import pygame.time - from setup import * from game import Game @@ -19,4 +17,4 @@ while is_running: scene.draw(screen) pygame.display.update() - delta = clock.tick(fps) \ No newline at end of file + delta = clock.tick(fps) diff --git a/Main/puzzle_generator.py b/Main/puzzle_generator.py index 7cdfdbf..cc5df4f 100644 --- a/Main/puzzle_generator.py +++ b/Main/puzzle_generator.py @@ -78,21 +78,3 @@ for i, val in enumerate(board.values()): print() print(find_words(board)) -# c l t a -# h x d o -# r a m u -# t f k g -# {'haku', 'aku', 'trah', 'toma', 'fam', 'gud', 'frt', 'amdt', 'kadu', 'aft', 'rad', 'adam', 'tao', 'arf', 'fax', 'art', 'max', 'rat', 'adat', 'oda', 'dao', 'tod', 'tax', 'taku', 'mat', 'kudo', 'rha', 'omar', 'dar', 'douma', 'haft', 'moat', 'fram', 'dum', 'odum', 'rah', 'doug', 'moa', 'chat', 'xat', 'udo', 'dart', 'fado', 'kaf', 'mota', 'mud', 'dug', 'trad', 'odax', 'tom', 'cham', 'amu', 'xcl', 'udom', 'kam', 'raku', 'tar', 'toad', 'hld', 'tou', 'rada', 'mot', 'arx', 'trf', 'mad', 'mudar', 'mart', 'toa', 'mxd', 'maku', 'duo', 'cha', 'mado', 'toda', 'doum', 'mfr', 'tra', 'haf', 'oat', 'chart', 'dat', 'rax', 'dom', 'doat', 'adar', 'gum', 'dak', 'dato', 'ada', 'chad', 'adm', 'duka', 'marx', 'fart', 'chaft', 'mug', 'hat', 'ham', 'dumka', 'tad', 'ram', 'kat', 'tfr', 'kart', 'tram', 'oud', 'hcl', 'dam', 'ado', 'daft', 'dot', 'mah', 'duma', 'moud', 'raft', 'mar', 'dah', 'atom', 'far', 'mou', 'tam', 'hart', 'tahr', 'frat', 'hak', 'adatom', 'fra', 'char', 'toug', 'had', 'oad', 'fad', 'fat', 'doa', 'mod'} - -# m v w h -# p t o t -# m c g w -# m z x j -# {'tpm', 'pmt', 'tgt', 'hot', 'cot', 'mcg', 'tog', 'gov', 'govt', 'how', 'cpt', 'hog', 'tov', 'two', 'wot', 'cog', 'ctg', 'wowt', 'owt', 'gtc', 'thow', 'got', 'cow', 'coth', 'wog', 'vow', 'cpm', 'wow', 'vogt', 'voc', 'oct', 'hoc', 'tow', 'goth', 'mtg', 'tho', 'thowt', 'ptg', 'togt', 'who', 'cto', 'hwt', 'pct', 'pcm', 'otc', 'pvt', 'tot', 'vog'} - -# x e r s -# e m i m -# r a e t -# r t h r -# {'rea', 'tae', 'ameers', 'mare', 'thetis', 'ear', 'ate', 'mems', 'ermit', 'mat', 'retiree', 'tire', 'that', 'thairm', 'thais', 'trema', 'smite', 'aimer', 'team', 'erie', 'remit', 'erth', 'ers', 'reim', 'smither', 'tetramer', 'rie', 'mit', 'mrs', 'aer', 'tamers', 'harm', 'err', 'retia', 'rim', 'mather', 'retame', 'eimer', 'xema', 'theat', 'rems', 'reis', 'hae', 'emeer', 'rithe', 'smith', 'treat', 'ria', 'mem', 'tiar', 'reiter', 'tree', 'eme', 'smiter', 'rime', 'emit', 'mtier', 'smeath', 'trame', 'haire', 'amerism', 'mee', 'mima', 'ram', 'tertia', 'site', 'mah', 'reit', 'marree', 'ramie', 'hamite', 'irma', 'tram', 'siam', 'thema', 'harr', 'ramism', 'aims', 'meath', 'hair', 'their', 'threat', 'hems', 'amie', 'simar', 'erat', 'mae', 'haremism', 'retar', 'riem', 'rate', 'mer', 'emirs', 'harre', 'meriah', 'metae', 'meathe', 'retire', 'hare', 'rater', 'ham', 'armit', 'rier', 'ream', 'sire', 'hear', 'meith', 'tie', 'remi', 'rame', 'ahet', 'smeth', 'armers', 'miter', 'tmema', 'emeers', 'mate', 'reamers', 'aire', 'theta', 'tear', 'tar', 'rah', 'timers', 'hater', 'mear', 'aimers', 'tra', 'mitre', 'sie', 'arter', 'emir', 'mime', 'hate', 'heme', 'sier', 'simarre', 'arte', 'theism', 'meriter', 'either', 'erme', 'retare', 'rhema', 'art', 'smit', 'eemis', 'tame', 'heir', 'aimee', 'timer', 'mite', 'rei', 'aet', 'siree', 'ither', 'thai', 'harmers', 'iter', 'rehair', 'amirs', 'sit', 'themis', 'mairs', 'theme', 'reh', 'tahr', 'tiam', 'ter', 'metamer', 'smear', 'tarmi', 'iare', 'mis', 'miae', 'meat', 'hame', 'tiers', 'tetramers', 'armer', 'meth', 'heirs', 'aith', 'mir', 'tim', 'eam', 'ems', 'rha', 'rath', 'met', 'tetramerism', 'arm', 'amit', 'are', 'metreme', 'amex', 'theatre', 'items', 'eth', 'eerier', 'hami', 'ramee', 'hei', 'tea', 'mair', 'rearm', 'metier', 'amire', 'haems', 'sim', 'rima', 'rear', 'mirs', 'remex', 'mire', 'armet', 'rat', 'tier', 'metre', 'mirex', 'metra', 'rims', 'eat', 'erma', 'tamer', 'tema', 'xeme', 'heart', 'mismetre', 'mither', 'tirma', 'eath', 'hert', 'hemera', 'sith', 'exert', 'reemit', 'sirex', 'ame', 'amis', 'sime', 'hart', 'harem', 'mimers', 'retie', 'eris', 'item', 'mart', 'amrit', 'rms', 'emerit', 'teart', 'tait', 'teamer', 'sia', 'etiam', 'time', 'airs', 'mar', 'eer', 'eria', 'thae', 'rhea', 'tharm', 'thea', 'smitham', 'mia', 'hat', 'tremex', 'maimer', 'mehtar', 'hem', 'mim', 'the', 'hairs', 'hareem', 'trah', 'teaer', 'timar', 'eir', 'rite', 'metis', 'irs', 'tamis', 'ahems', 'rem', 'sri', 'ameer', 'mimer', 'emetia', 'timet', 'emim', 'rte', 'ree', 'rais', 'ret', 'hait', 'arthemis', 'tret', 'rimate', 'rare', 'ait', 'ramex', 'retrait', 'tis', 'tem', 'merism', 'amir', 'ami', 'rimer', 'haem', 'eater', 'them', 'meta', 'aht', 'rhet', 'retime', 'mater', 'heat', 'rathe', 'rhe', 'sithe', 'atheism', 'het', 'merit', 'her', 'tare', 'rheme', 'sir', 'itea', 'mismet', 'maitre', 'ire', 'reharm', 'artemis', 'meer', 'rather', 'ahem', 'rit', 'earth', 'remaim', 'merat', 'tai', 'mrem', 'teth', 'metiers', 'tha', 'reem', 'ais', 'tarr', 'era', 'math', 'ima', 'mermis', 'retree', 'eire', 'exeat', 'metamers', 'ramet', 'mathe', 'trait', 'ism', 'rheae', 'remet', 'retier', 'harmer', 'teaism', 'haet', 'tremie', 'maim', 'tetra', 'reamer', 'emer', 'themer', 'imer', 'eerie', 'eta', 'theirs', 'rti', 'rex', 'teat', 'maire', 'tam', 'mea', 'tarre', 'aim', 'arr', 'air', 'thar', 'rami', 'thairms', 'sima', 'maims'} - diff --git a/Main/puzzles/testing/puzzle1.txt b/Main/puzzles/testing/puzzle1.txt new file mode 100644 index 0000000..dd49e92 --- /dev/null +++ b/Main/puzzles/testing/puzzle1.txt @@ -0,0 +1,3 @@ +4 4 +cltahxdoramutfkg +{'haku', 'aku', 'trah', 'toma', 'fam', 'gud', 'frt', 'amdt', 'kadu', 'aft', 'rad', 'adam', 'tao', 'arf', 'fax', 'art', 'max', 'rat', 'adat', 'oda', 'dao', 'tod', 'tax', 'taku', 'mat', 'kudo', 'rha', 'omar', 'dar', 'douma', 'haft', 'moat', 'fram', 'dum', 'odum', 'rah', 'doug', 'moa', 'chat', 'xat', 'udo', 'dart', 'fado', 'kaf', 'mota', 'mud', 'dug', 'trad', 'odax', 'tom', 'cham', 'amu', 'xcl', 'udom', 'kam', 'raku', 'tar', 'toad', 'hld', 'tou', 'rada', 'mot', 'arx', 'trf', 'mad', 'mudar', 'mart', 'toa', 'mxd', 'maku', 'duo', 'cha', 'mado', 'toda', 'doum', 'mfr', 'tra', 'haf', 'oat', 'chart', 'dat', 'rax', 'dom', 'doat', 'adar', 'gum', 'dak', 'dato', 'ada', 'chad', 'adm', 'duka', 'marx', 'fart', 'chaft', 'mug', 'hat', 'ham', 'dumka', 'tad', 'ram', 'kat', 'tfr', 'kart', 'tram', 'oud', 'hcl', 'dam', 'ado', 'daft', 'dot', 'mah', 'duma', 'moud', 'raft', 'mar', 'dah', 'atom', 'far', 'mou', 'tam', 'hart', 'tahr', 'frat', 'hak', 'adatom', 'fra', 'char', 'toug', 'had', 'oad', 'fad', 'fat', 'doa', 'mod'} diff --git a/Main/puzzles/testing/puzzle2.txt b/Main/puzzles/testing/puzzle2.txt new file mode 100644 index 0000000..f70ea93 --- /dev/null +++ b/Main/puzzles/testing/puzzle2.txt @@ -0,0 +1,3 @@ +4 4 +mvwhptotmcgwmzxj +{'tpm', 'pmt', 'tgt', 'hot', 'cot', 'mcg', 'tog', 'gov', 'govt', 'how', 'cpt', 'hog', 'tov', 'two', 'wot', 'cog', 'ctg', 'wowt', 'owt', 'gtc', 'thow', 'got', 'cow', 'coth', 'wog', 'vow', 'cpm', 'wow', 'vogt', 'voc', 'oct', 'hoc', 'tow', 'goth', 'mtg', 'tho', 'thowt', 'ptg', 'togt', 'who', 'cto', 'hwt', 'pct', 'pcm', 'otc', 'pvt', 'tot', 'vog'} diff --git a/Main/puzzles/testing/puzzle3.txt b/Main/puzzles/testing/puzzle3.txt new file mode 100644 index 0000000..52eed15 --- /dev/null +++ b/Main/puzzles/testing/puzzle3.txt @@ -0,0 +1,3 @@ +4 4 +xersemimraetrthr +{'rea', 'tae', 'ameers', 'mare', 'thetis', 'ear', 'ate', 'mems', 'ermit', 'mat', 'retiree', 'tire', 'that', 'thairm', 'thais', 'trema', 'smite', 'aimer', 'team', 'erie', 'remit', 'erth', 'ers', 'reim', 'smither', 'tetramer', 'rie', 'mit', 'mrs', 'aer', 'tamers', 'harm', 'err', 'retia', 'rim', 'mather', 'retame', 'eimer', 'xema', 'theat', 'rems', 'reis', 'hae', 'emeer', 'rithe', 'smith', 'treat', 'ria', 'mem', 'tiar', 'reiter', 'tree', 'eme', 'smiter', 'rime', 'emit', 'mtier', 'smeath', 'trame', 'haire', 'amerism', 'mee', 'mima', 'ram', 'tertia', 'site', 'mah', 'reit', 'marree', 'ramie', 'hamite', 'irma', 'tram', 'siam', 'thema', 'harr', 'ramism', 'aims', 'meath', 'hair', 'their', 'threat', 'hems', 'amie', 'simar', 'erat', 'mae', 'haremism', 'retar', 'riem', 'rate', 'mer', 'emirs', 'harre', 'meriah', 'metae', 'meathe', 'retire', 'hare', 'rater', 'ham', 'armit', 'rier', 'ream', 'sire', 'hear', 'meith', 'tie', 'remi', 'rame', 'ahet', 'smeth', 'armers', 'miter', 'tmema', 'emeers', 'mate', 'reamers', 'aire', 'theta', 'tear', 'tar', 'rah', 'timers', 'hater', 'mear', 'aimers', 'tra', 'mitre', 'sie', 'arter', 'emir', 'mime', 'hate', 'heme', 'sier', 'simarre', 'arte', 'theism', 'meriter', 'either', 'erme', 'retare', 'rhema', 'art', 'smit', 'eemis', 'tame', 'heir', 'aimee', 'timer', 'mite', 'rei', 'aet', 'siree', 'ither', 'thai', 'harmers', 'iter', 'rehair', 'amirs', 'sit', 'themis', 'mairs', 'theme', 'reh', 'tahr', 'tiam', 'ter', 'metamer', 'smear', 'tarmi', 'iare', 'mis', 'miae', 'meat', 'hame', 'tiers', 'tetramers', 'armer', 'meth', 'heirs', 'aith', 'mir', 'tim', 'eam', 'ems', 'rha', 'rath', 'met', 'tetramerism', 'arm', 'amit', 'are', 'metreme', 'amex', 'theatre', 'items', 'eth', 'eerier', 'hami', 'ramee', 'hei', 'tea', 'mair', 'rearm', 'metier', 'amire', 'haems', 'sim', 'rima', 'rear', 'mirs', 'remex', 'mire', 'armet', 'rat', 'tier', 'metre', 'mirex', 'metra', 'rims', 'eat', 'erma', 'tamer', 'tema', 'xeme', 'heart', 'mismetre', 'mither', 'tirma', 'eath', 'hert', 'hemera', 'sith', 'exert', 'reemit', 'sirex', 'ame', 'amis', 'sime', 'hart', 'harem', 'mimers', 'retie', 'eris', 'item', 'mart', 'amrit', 'rms', 'emerit', 'teart', 'tait', 'teamer', 'sia', 'etiam', 'time', 'airs', 'mar', 'eer', 'eria', 'thae', 'rhea', 'tharm', 'thea', 'smitham', 'mia', 'hat', 'tremex', 'maimer', 'mehtar', 'hem', 'mim', 'the', 'hairs', 'hareem', 'trah', 'teaer', 'timar', 'eir', 'rite', 'metis', 'irs', 'tamis', 'ahems', 'rem', 'sri', 'ameer', 'mimer', 'emetia', 'timet', 'emim', 'rte', 'ree', 'rais', 'ret', 'hait', 'arthemis', 'tret', 'rimate', 'rare', 'ait', 'ramex', 'retrait', 'tis', 'tem', 'merism', 'amir', 'ami', 'rimer', 'haem', 'eater', 'them', 'meta', 'aht', 'rhet', 'retime', 'mater', 'heat', 'rathe', 'rhe', 'sithe', 'atheism', 'het', 'merit', 'her', 'tare', 'rheme', 'sir', 'itea', 'mismet', 'maitre', 'ire', 'reharm', 'artemis', 'meer', 'rather', 'ahem', 'rit', 'earth', 'remaim', 'merat', 'tai', 'mrem', 'teth', 'metiers', 'tha', 'reem', 'ais', 'tarr', 'era', 'math', 'ima', 'mermis', 'retree', 'eire', 'exeat', 'metamers', 'ramet', 'mathe', 'trait', 'ism', 'rheae', 'remet', 'retier', 'harmer', 'teaism', 'haet', 'tremie', 'maim', 'tetra', 'reamer', 'emer', 'themer', 'imer', 'eerie', 'eta', 'theirs', 'rti', 'rex', 'teat', 'maire', 'tam', 'mea', 'tarre', 'aim', 'arr', 'air', 'thar', 'rami', 'thairms', 'sima', 'maims'}