cws/main_cw02.tex
changeset 499 2f33c51cac48
parent 472 fbff6f601370
child 501 3717785f2c37
equal deleted inserted replaced
498:0f1b97538ad4 499:2f33c51cac48
    51 you would type something like:
    51 you would type something like:
    52 
    52 
    53 \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small]
    53 \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small]
    54 $ scala-cli --extra-jars wordle.jar
    54 $ scala-cli --extra-jars wordle.jar
    55 scala> val secretsURL =
    55 scala> val secretsURL =
    56      | """https://nms.kcl.ac.uk/christian.urban/wordle.txt"""
    56      | """https://urbanchr.github.io/pep/wordle.txt"""
    57 
    57 
    58 scala> M2.get_wordle_list(secretsURL)
    58 scala> M2.get_wordle_list(secretsURL)
    59 val res0: List[String] = List(aahed, aalii, ...)
    59 val res0: List[String] = List(aahed, aalii, ...)
    60 \end{lstlisting}%$
    60 \end{lstlisting}%$
    61 
    61 
    93 by finding words that are the most difficult to guess. A word list of five-letter words is available
    93 by finding words that are the most difficult to guess. A word list of five-letter words is available
    94 from 
    94 from 
    95 
    95 
    96 \begin{center}
    96 \begin{center}
    97 \begin{tabular}{ll}  
    97 \begin{tabular}{ll}  
    98   \url{https://nms.kcl.ac.uk/christian.urban/wordle.txt} & (78 KByte)\\
    98   \url{https://urbanchr.github.io/pep/wordle.txt} & (78 KByte)\\
    99 \end{tabular}
    99 \end{tabular}
   100 \end{center}
   100 \end{center}
   101 
   101 
   102 \noindent
   102 \noindent
   103 In your program you need to download this list and implement some
   103 In your program you need to download this list and implement some