Giter Club home page Giter Club logo

wordsearch's Introduction

wordsearch

Notebook to auto-generate wordsearch puzzles to help with KS1 and KS2 spelling.

(Currently hard-coded for 20 words per puzzle!)

Main wordsearch algorithm adapted from https://codereview.stackexchange.com/questions/92649/word-search-generator.

See notebook for additional comments, should be fairly self explanatory.

Formatted HTML is generated, customization can be achieved either by copy/paste in to Excel (Word etc) or through editing embedded CSS within the HTML files.

Binder

wordsearch's People

Contributors

saboyle avatar

Watchers

 avatar

wordsearch's Issues

Wordsearch Request

# misc-1
w1 = { 
    'title': "Year 4: Miscellaneous-1", 
    'file_prefix': "misc-1",
    'wordlist': ['irregular','irresistible','irreparable','irresponsible','irreversible',
               'turned','walked','write','woken','almost', 'improper','immortal','immature',
               'impolite','impatient','much','never','only','second','today']
}

# shun-1
w2 = { 
    'title': "Year 4: Shun-1",
    'file_prefix': "shun-1",
    'wordlist': ['nation','operation','imagination','organisation','position','pollution',
               'solution','attraction','correction','fiction','construction', 'introduction',
               'addition','attention','protection','selection','tradition','duration','location','ambition']
}

# shun-2
w3 = {
    'title': "Year 4: Shun-2", 
    'file_prefix': "shun-1",
    'wordlist': ['mission', 'discussion', 'expression', 'confession', 'permission', 'admission', 
               'possession', 'musician', 'magician', 'electrician', 'politician', 'mathematician', 
               'comprehension', 'injection', 'action', 'invention', 'extension', 'tension', 
               'confusion', 'explosion']
}

# sure-1
w4 = {
    'title': "Year 4: Sure/Ture-1",
    'file_prefix': "sure-1",
    'wordlist': ['treasure','pleasure','measure','exposure','ensure','measurement',
               'enclosure','surely','closure','leisure',
               'puncture','departure','capture','sculpture','structure',
               'creature','adventure','gesture','furniture', 'nurture']
}

# bi and tri-1
w5 = {
    'title': "Year 4: Bi/Tri-1",
    'file_prefix': "bitri-1",
    'wordlist': ['biscuit','triangle','triplets','billion','trillion','bisect',
                 'bike','triceps','bilingual','biceps','tripod','trilogy','biography',
                 'triple','biology','biplane','trio','bikini','trilingual','triplicate']
}

# Homophones-1
w6 = {
    'title': "Year 4: Homophones-1",
    'file_prefix': "homophone-1",
    'wordlist': ['peace','piece','main','mane','night','knight','knew','new','which',
                'witch','flower','flour','sea','see','here','hear','bear','bare',
                'right','write']
}

# Homophones-2
w7 = {
    'title': "Year 4: Homophones-2",
    'file_prefix': "homophone-2",
    'wordlist': ['cell','sell','flour','flower','here','hear','idol','idle','poor',
                 'pour','right','write','sea','see','sole','soul','tail','tail', 
                 'hear', 'here']
}

# NegativePrefixes-1
w8 = {'title': "Year 4: 'Negative Prefixes-1",
    'file_prefix': "negpre-1",
    'wordlist': 
        ['illegal','immature','immortal','impossible','impatient','imperfect','irregular',
         'irrelevant','irresponsible','inaccurate','incomplete','illegible','illogical','inactive',
         'inactive','inaudible','invisible','incorrect','irreplaceable','irrational']
     }

# ScWords-1
w9 = {'title': "Year 4: 'Sc Words-1",
    'file_prefix': "sc-1",
    'wordlist':  ['science','scene','discipline','fascinate','crescent','scissors',
                  'ascend','descend','scenery','scientist','scimitar','scented','ascent',
                  'descent','discern','discipline','oscillate','ascertain','muscle',
                  'miscellaneous']
     }

batch = [w1, w2, w3, w4, w5, w6, w7, w8]

Add downloadable links

from IPython.display import FileLink
display(FileLink("answers.txt"));
display(FileLink("easy.xlsx"));
display(FileLink("medium.xlsx"));
display(FileLink("difficult.xlsx"))

Harry Potter Wordsearch

word_list = ['harrypotter',
'madeyemoody',
'stag',
'giant',
'siriusblack',
'kingscross',
'hogwartsexpress',
'slytherine',
'goldensnitch',
'dailyprophet',
'butterbeer',
'dobby',
'houseelf',
'hogsmead',
'muggle',
'dementor',
'aragog',
'deatheaters',
'tonks',
'dumbledoresarmy',
'potions',
'darkarts',
'fluffy',
'prongs',
'patronus',
'centaur',
'privetdrive',
'quirrel',
'hedwig',
'bludger',
'voldermort'
'azkaban',
'midnightbus',
'pollyjuice',
'scar',
'wand',
'slytheryn',
'hermione',
'ronweasley',
'malfoy',
'crab',
'goyle',
'parceltongue',
'gringottsbank',
'dailyprophet',
'everyflavourbeans',
'pheonix',
'fawkes',
'maraudersmap',
'snape']

Add self contained HTML / CSS output

Use tables for:

  1. Grid
  2. Wordlist

Use embedded styles for:

  1. Page background colour
  2. Table and Cell formatting
  3. Font control.

Have printable CSS version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.