diff org/types.org @ 10:eedd6897197d

fixed spelling errors for pokemon.types
author Robert McIntyre <rlm@mit.edu>
date Wed, 02 Nov 2011 08:02:11 -0700
parents fd38763de457
children e1b7ef479bd1
line wrap: on
line diff
     1.1 --- a/org/types.org	Wed Nov 02 07:35:57 2011 -0700
     1.2 +++ b/org/types.org	Wed Nov 02 08:02:11 2011 -0700
     1.3 @@ -2,6 +2,7 @@
     1.4  #+AUTHOR:    Robert McIntyre & Dylan Holmes
     1.5  #+EMAIL:     rlm@mit.edu
     1.6  #+description: Finding interesting pokemon type combinations through Best-First search in clojure.
     1.7 +#+keywords: Pokemon, clojure, best-first search, optimization
     1.8  #+SETUPFILE: ../../aurellem/org/setup.org
     1.9  #+INCLUDE:   ../../aurellem/org/level-0.org
    1.10  
    1.11 @@ -23,17 +24,17 @@
    1.12  high susceptibility, average susceptibility, particularly low
    1.13  susceptibility, and no susceptibility (immunity).
    1.14  
    1.15 - - The suceptability of Flying types /against/ Ground is 0, because Ground
    1.16 + - The susceptibility of Flying types /against/ Ground is 0, because Ground
    1.17     attacks cannot hurt Flying pok\eacute{}mon at all. The damage that
    1.18     a Ground type attack normally does is  /multiplied/ by 0 when it is
    1.19 -   uesd against a Flying type pok\eacute{}mon.
    1.20 +   used against a Flying type pok\eacute{}mon.
    1.21  
    1.22 - - The susceptability of Fire types against Water attacks
    1.23 + - The susceptibility of Fire types against Water attacks
    1.24     is 2, because Water type attacks are strong against Fire type
    1.25     Pok\eacute{}mon. The damage that a Water type attack normally does
    1.26     is doubled when it is used against a Fire type pok\eacute{}mon.
    1.27  
    1.28 - - The susceptability of Water types against Water attacks is
    1.29 + - The susceptibility of Water types against Water attacks is
    1.30     $\frac{1}{2}$, because Water type attacks are strong against Water
    1.31     type Pok\eacute{}mon. The damage that a Water type attack normally
    1.32     does is halved when it is used against a Water type
    1.33 @@ -116,7 +117,7 @@
    1.34     pok\eacute{}mon are the best way to defeat Psychic pok\eacute{}mon,
    1.35     and the Red, Blue, and Yellow games each have a character who
    1.36     states "The only thing Psychic pok\eacute{}mon fear are Bugs and
    1.37 -   Ghosts!" This is considered to be a programning glitch. Ghost is
    1.38 +   Ghosts!" This is considered to be a programming glitch. Ghost is
    1.39     super-effective against Psychic in Generation II.
    1.40  
    1.41  * Representing the Data
    1.42 @@ -238,11 +239,11 @@
    1.43  types at the same time.  For example, [[http://bulbapedia.bulbagarden.net/wiki/Zapdos][Zapdos]], the fearsome legendary
    1.44  bird that can control lightning, has both the Electric and Flying
    1.45  types. A pok\eacute{}mon with more than one type gains the advantages
    1.46 -and disadvanteags of both types.  The suceptibilitys of each type are
    1.47 +and disadvantages of both types.  The susceptibilities of each type are
    1.48  multiplied together to produce the hybrid type's susceptibilities. For
    1.49  example, Electric is weak to Ground (susceptibility of 2), but Flying
    1.50 -is immune to Ground (suceptibility of 0). [[http://bulbapedia.bulbagarden.net/wiki/Zapdos][Zapdos']] type,
    1.51 -Electrig/Flying, is immune to Ground because $2 \times 0 = 0$.
    1.52 +is immune to Ground (susceptibility of 0). [[http://bulbapedia.bulbagarden.net/wiki/Zapdos][Zapdos']] type,
    1.53 +Electric/Flying, is immune to Ground because $2 \times 0 = 0$.
    1.54  
    1.55  #+srcname: types
    1.56  #+begin_src clojure :results silent
    1.57 @@ -272,7 +273,7 @@
    1.58    (reduce + (map #(expt % 2) (vals (susceptibility types)))))
    1.59  #+end_src
    1.60  
    1.61 -Now we can work out the suceptability of [[http://bulbapedia.bulbagarden.net/wiki/Zapdos][Zapdos]] automatically.
    1.62 +Now we can work out the susceptibility of [[http://bulbapedia.bulbagarden.net/wiki/Zapdos][Zapdos]] automatically.
    1.63  
    1.64  Electric is weak to Ground.
    1.65  #+begin_src clojure :exports both
    1.66 @@ -380,7 +381,7 @@
    1.67  #+begin_src clojure :results silent
    1.68  (in-ns 'pokemon.types)
    1.69  (defvar type-compare (comparatize susceptance)
    1.70 -  "compare two type combinations wrt their susceptibilities")
    1.71 +  "compare two type combinations W.R.T. their susceptibilities")
    1.72  
    1.73  (defn type-successors
    1.74    "Return the set of types that can be made by appending a single type