comparison org/types.org @ 5:ff9655688ddb

added pokemon table
author Robert McIntyre <rlm@mit.edu>
date Wed, 02 Nov 2011 05:41:49 -0700
parents a227fe337e83
children 3f26fc68ffbc
comparison
equal deleted inserted replaced
4:a227fe337e83 5:ff9655688ddb
14 Grass type but weak against the Water type. In the table below, we've 14 Grass type but weak against the Water type. In the table below, we've
15 recorded the relative strengths of each of the types in the 15 recorded the relative strengths of each of the types in the
16 Pok\eacute{}mon type system; the number in each cell indicates how 16 Pok\eacute{}mon type system; the number in each cell indicates how
17 effective an attack of the type in the row is against a 17 effective an attack of the type in the row is against a
18 Pok\eacute{}mon of the type in the column. We call these numbers 18 Pok\eacute{}mon of the type in the column. We call these numbers
19 /susceptibilities/ because we are interested in the column totals, 19 /susceptibilities/.
20 which quantify the overall vulnerability of each Pok\eacute{}mon type
21 (as opposed to the row totals, which quantify the overall
22 effectiveness of each attack type.)
23 20
24 In the Pok\eacute{}mon games, only four susceptibility values (two, 21 In the Pok\eacute{}mon games, only four susceptibility values (two,
25 one, one-half, and zero) occur. These numbers indicate particularly 22 one, one-half, and zero) occur. These numbers indicate particularly
26 high susceptibility, average susceptibility, particularly low 23 high susceptibility, average susceptibility, particularly low
27 susceptibility, and no susceptibility 24 susceptibility, and no susceptibility (immunity).
28 (immunity). Here is the entire Pok\eacute{}mon type chart. 25
29 26 - The suceptability of Flying types /against/ Ground is 0, because Ground
30 27 attacks cannot hurt Flying pok\eacute{}mon at all. The damage that
31 28 a Ground type attack normally does is /multiplied/ by 0 when it is
32 ** TODO add the pokemon chart in a pretty form 29 uesd against a Flying type pok\eacute{}mon.
33 30
34 * COMMENT Pokemon Table Data 31 - The susceptability of Fire types against Water attacks
32 is 2, because Water type attacks are strong against Fire type
33 Pok\eacute{}mon. The damage that a Water type attack normally does
34 is doubled when it is used against a Fire type pok\eacute{}mon.
35
36 - The susceptability of Water types against Water attacks is
37 $\frac{1}{2}$, because Water type attacks are strong against Water
38 type Pok\eacute{}mon. The damage that a Water type attack normally
39 does is halved when it is used against a Water type
40 pok\eacute{}mon.
41
42 There are two pok\eacute{}mon type systems in use. The first is the
43 classic system which was used for the very first pok\eacute{}mon
44 games, Red, Yellow, and Blue. This old system was used from 1998 to
45 2000 in America, and is known as the /Generation I Type System/. The
46 modern pok\eacute{}mon type system was introduced in 2000 with the
47 introduction of pok\eacute{}mon Gold and Silver, and has been in use
48 ever since. It is called the /Generation II Type System/.
49
50 Here are the the definitions of the two type systems.
51
52 * Pokemon Table Data
35 53
36 #+caption: The rows are attack types, while the columns are defense types. To see the multiplier for a pokemon attack against a certain type, follow the row for the attack type to the column of the defending type. 54 #+caption: The rows are attack types, while the columns are defense types. To see the multiplier for a pokemon attack against a certain type, follow the row for the attack type to the column of the defending type.
37 #+label: pokemon-matchups 55 #+label: pokemon-matchups
38 #+tblname: pokemon-table-gen-two 56 #+tblname: pokemon-table-gen-two
39 | | normal | fire | water | electric | grass | ice | fighting | poison | ground | flying | psychic | bug | rock | ghost | dragon | dark | steel | 57 | | normal | fire | water | electric | grass | ice | fighting | poison | ground | flying | psychic | bug | rock | ghost | dragon | dark | steel |
601 619
602 In the [[./lpsolve.org][next installment]], I'll use =lp_solve= to solve this problem in 620 In the [[./lpsolve.org][next installment]], I'll use =lp_solve= to solve this problem in
603 a different way. 621 a different way.
604 622
605 623
624
606 * COMMENT main program 625 * COMMENT main program
607 #+begin_src clojure :noweb yes :tangle ../src/pokemon/types.clj :exports none 626 #+begin_src clojure :noweb yes :tangle ../src/pokemon/types.clj :exports none
608 <<header>> 627 <<header>>
609 #+end_src 628 #+end_src
610 629