<?xml version="1.0" encoding="UTF-8"?>
<TEI.2 id="paper_175_durand">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>Cardplay, a New Textual Instrument</title>
            <author>
               <name reg="Durand, David">David Durand</name>
            </author>
            <author>
               <name reg="Wardrip-Fruin, Noah">Noah Wardrip-Fruin</name>
            </author>
            <respStmt>
               <resp>Marked up by </resp>
               <name reg="Holmes, Martin">Martin Holmes</name>
               <lb/>
               <name reg="Baer, Patricia">Patricia Baer</name>
            </respStmt>
         </titleStmt>
         <publicationStmt>
            <p>Marked up to be included in the ACH/ALLC 2005 Conference Abstracts book.</p>
         </publicationStmt>
         <sourceDesc>
            <p>None</p>
         </sourceDesc>
      </fileDesc>
      <profileDesc>
         <textClass>
            <classCode>paper</classCode>
            <keywords>
               <list>
                  <item>hypertext</item>
                  <item>new media</item>
                  <item>games</item>
               </list>
            </keywords>
         </textClass>
      </profileDesc>
      <revisionDesc>
         <list>
            <item>MDH: Created from John Bradley's XML <date value="2005-03-10">10 March 2005</date>
            </item>
            <item>MDH: Author's first revisions merged <date value="2005-03-10">10 March 2005</date>
            </item>
            <item>MDH: Markup completed <date value="2005-03-21">21 March 2005</date>
            </item>
            <item>MDH: PGL's editorial revisions merged <date value="2005-05-18">18 May 2005</date>
            </item>
         </list>
      </revisionDesc>
   </teiHeader>
   <text>
      <front>
         <docTitle n="Cardplay, a New Textual Instrument">
            <titlePart>
               <title level="m">Cardplay</title>, a New Textual Instrument</titlePart>
         </docTitle>
         <docAuthor>
            <name reg="Durand, David">David Durand</name>
            <address>
               <addrLine>dgd@acm.org</addrLine>
            </address>
         </docAuthor>
         <titlePart type="affil">Brown University</titlePart>
         <docAuthor>
            <name reg="Wardrip-Fruin, Noah">Noah Wardrip-Fruin</name>
            <address>
               <addrLine>nwf@brown.edu</addrLine>
            </address>
         </docAuthor>
         <titlePart type="affil"/>
      </front>
      <body>
         <div0>
            <head>Introduction: What is textual play?</head>
            <p>We are exploring what it means to <soCalled>play</soCalled> textual literature.
                  We don't mean, by this, playing games that incorporate textual
                  material within their structure ߞ but rather textual and
                  literary structures for which play is a primary means of interaction. We are
                  conducting our exploration both as creators and scholars of
                  digital media. This paper discusses a number of related issues —
                  including the notion of "instrumental texts" discussed by
                  electronic literature authors, the critical games proposed by
                  Jerome McGann and Johanna Drucker, and what Markku Eskelinen has
                  characterized as the challenge of ludology (the study of games)
                  to traditional literary study. This discussion then becomes the
                  background for describing a system we are building — <title level="m">Cardplay</title> —
                  its design goals, our authoring work within it, and its
                  relationship to prior work in the hypertext and artificial
                  intelligence communities.</p>
         </div0>
         <div0>
            <head>Texts and instruments</head>
            <p>In the electronic writing community there has been increasing talk, in
                  the last few of years, about the idea of <hi rend="emph">instrumental texts</hi> 
                  (Cayley, Moulthrop, Wardrip-Fruin). An instrumental text is meant to be
                  played, and provides affordances for such play, much as folk musical
                  instruments do (as the frets on a guitar invite the production of the notes of
                  the scale). Such texts can and should provide opportunities for practice and reward
                  mastery. What is practiced and mastered — again, the analogy is drawn with
                  musical instruments — is often presented as a physical discipline.
                  Instrumental texts also show close resemblances to computer
                  games in these ways. Given that most works presented as examples of
                  instrumental texts always use the same material for their play (always, so
                  to speak, <soCalled>play the same tune</soCalled>) the analogy with games may be the more
                  accurate of the two. However, the type of engagement that authors hope to
                  produce with instrumental texts may be more musical than game-like.</p>
            <p>A <hi rend="emph">textual instrument</hi>, on the other hand, is a tool for
                  textual performance which may be used to play a variety of
                  compositions. In this sense it is evocative of Thalia Field's
                  figure of the "language piano" — something that one learns to
                  play, and which may produce a much wider variety of texts than is
                  the case for those projects normally discussed as instrumental
                  texts. However, a textual instrument need not be like a prepared
                  piano. The direct selection of text, rather than the manipulation
                  of a non-linguistic device, can be its interface. And the
                  relationship between a textual instrument's interface affordances
                  and the possible textual outcomes need not be one-to-one at all
                  levels (as it is with a piano's keys, though they may be
                  played in many combinations). Gaining an intuitive understanding of how a
                  textual instrument will react for a given composition is part of learning to play 
                  that piece. Compositions, here, consist of a body of text (and/or a means of acquiring
                  text) and a set of <hi rend="emph">tunings</hi> for the instrument(s) used, where a tuning
                  is a particular configuration of the interaction mechanisms and settings for the procedures 
                  (along with any instructions on how these change over time).
               </p>
            <p>We have previously built two<note n="1">
                  <xptr to="http://www.turbulence.org/Works/twotxt/index.htm"/>
               </note> textual
                  instruments — one, for performing local pre-parsed texts (and for which
                  currently there is one composition, <title level="m">Regime Change</title>), the other for playing
                  live network RSS feeds of current news. Both of these operate
                  using the logic of n-gram statistical models of text (first used in textual
                  play by Claude Shannon) and exhibited strengths and weaknesses that might be
                  expected from such a purely statistical approach. An intuitive understanding
                  of how to get <soCalled>good</soCalled> results from both works is possible, however, despite
                  the fact that there is no pre-set goal to the interaction. Because of the
                  aleatoric nature of the automatic processes in both works, and the size and
                  opaqueness of a statistical model of even a short text, these instruments
                  are easy to compose for, but relatively resistant to precise control, by
                  author or reader. <title level="m">Cardplay</title>, on the other hand, is designed to operate more
                  directly out of human authorship (of texts and rules), with interaction
                  techniques and infrastructural motifs more typical of hypertexts
                  or rule-based artificial intelligence systems. The aim is a blend of these
                  parallel (non-intersecting) but closely related sets of techniques.</p>
         </div0>
         <div0>
            <head>Playing with games</head>
            <p>Interest in games has a long history within the literary
                  community. The work of the Oulipo, for example, could be seen as
                  a relatively recent entry in a series of authoring games
                  stretching back through literary history. (Amusingly, the Oulipo
                  have referred to those employing difficult authoring constraints
                  before them as "anticipatory plagiarists" — and characterized
                  themselves as rats who design the mazes from which they propose
                  to escape.) Critical interpretation has also been characterized
                  as a game. Warren Motte has done important work on <soCalled>playtexts</soCalled>.
                  However there has been little attention to games in a more formal
                  sense — games involving rules, moves, and outcomes. Perhaps this
                  is because few literal games have, before the last couple of decades,
                  contained much of literary interest.</p>
            <p>Now this is changing, and rapidly. Critics from literary
                  backgrounds are among the most active in the formation of the
                  rising field of <soCalled>game studies</soCalled> (or <soCalled>ludology</soCalled>). Meanwhile, other
                  critics have proposed means by which the metaphorical game of
                  literary interpretation can be literalized — via the
                  introduction of rules, moves, and outcomes into public acts of
                  interpretation carried out in a computational media
                  environment.</p>
            <p>Among those from a literary background who are now helping
                  create the field of game studies, we will primarily focus on
                  Markku Eskelinen's recent work. While we might also fruitfully
                  consider the work of Espen Aarseth, Lisbeth Klastrup, Susana
                  Tosca, and Torill Mortensen, it is Eskelinen who has most clearly
                  brought concepts from ludology into contact with the notions of
                  <cit>
                  <q>instrumental text</q>
               </cit> and <cit>
                  <q>textual instrument</q>
               </cit> . He
                  points out the importance of overcoming the <cit>
                  <q>fear of variety</q>
               </cit> in
                  order to understand instruments fashioned precisely so that each
                  reading is different. We must find methods of reading not only
                  textual outcomes (which vary) but the systems that produce them
                  (which remain consistent).</p>
            <p>In another sense, the creation of systems for <soCalled>playing literature</soCalled> — but
                  for critical purposes, rather than artistic ones — has been a focus of the
                  Speculative Computing Laboratory at the University of Virginia. Best known
                  of these projects is <title level="m">The Ivanhoe Game</title> first proposed by Jerome McGann and
                  Johanna Drucker. Here some types of literary interpretation are formalized
                  in a manner that would be recognizable to ludologists, even if they do not
                  fully satisfy all formal definitions of the term <soCalled>game</soCalled>.
               </p>
         </div0>
         <div0>
            <head>Playing cards for drama</head>
            <p>In <title level="m">Cardplay</title>, we are trying to create a textual instrument whose center of
                  gravity is clearly literary, focused on the creation of a work, a play, that
                  is in some senses conventionally literary, and yet to make the process of
                  playing the work simultaneously be the the process of playing a game
                  in the most literal sense. In <title level="m">Cardplay</title>,
                  players manipulate virtual cards (each associated with text that is not
                  fully visible to the players), in an attempt to win the card game (Solitaire
                  is also possible). However,
                  a successful play wins points when the card played
                  interacts with other cards played to advance the creation of the script of a
                  play, whose transcript accumulates and may be saved. Copyright in
                  the result may be automatically granted to the winner of the game, by the
                  program, on the successful completion of the game. Players of the game are
                  thus in competition with each other to advance the story. Unlike many
                  interactive fictions, however, neither player is identified with a character
                  in the ongoing story, nor is the plot of the story necessarily determinative
                  of victory in the game.
               </p>
            <p>Significant aspects of <title level="m">Cardplay</title> are inspired by the description of Mark
                  Bernstein's systems <title level="m">Thespis</title> and <title level="m">Card Shark</title>. 
                  In Berstein's <title level="m">Card Shark</title>, players
                  create texts by playing <soCalled>cards</soCalled> each containing a fragment of narrative. Each
                  card may have some named properties, which are active once the card is
                  played. Cards may also have preconditions which must match the properties of
                  active cards. <title level="m">Thespis</title> extended this notion to a self-composing drama system
                  in which a number of artificial agents try to play their own cards, with a
                  similar condition system.</p>
            <p>In neither of Bernstein's systems was the notion of a game used. In
                  <title level="m">Thespis</title>, a number of standard AI techniques (Blackboard systems, Agents) are
                  used in a minimal way to create a reading experience. <title level="m">Cardplay</title> cards can be
                  divided into two types: Fundamental cards, which respresent aspects of events,
                  characters, places; and Master cards, which create textual content in the
                  transcript. There is no procedural aspect to <title level="m">Cardplay</title> cards, unlike
                  Bernstein's <title level="m">Thespis</title> agents, and the conditions by which cards are matched
                  are more complex than those in <title level="m">Card Shark</title>. A <title level="m">Cardplay</title> card is more like a
                  logical rule in an AI system, which has variables that it can match in the
                  cards <soCalled>on deck</soCalled>, and results that it presents, to which other cards can
                  match. When played, a Master card, and the cards that it has matched with,
                  are all removed, and the transcript is augmented with the results.</p>
            <p>We believe that the methods of symbolic AI provide a fertile area for
                     exploration in the creation of literary systems and games. The thorny AI
                     issues of how the knowledge in such systems is grounded are irrelevant to the creation of the
                     experience of irreal worlds, which by definition are not so grounded. As
                     authors, we find what has come to seem the naivete of early AI methods quite attractive,
                     because it means that the resulting systems
                     are relatively easy to understand and control. Finally, we find it
                     interesting that in our system the reader will play a game whose issue will 
                     provide a soul for the machine that is our text.
                  </p>
         </div0>
      </body>
      <back>
         <div type="Bibliography">
            <head>Bibliography</head>
            <listBibl>
               <biblStruct>
                  <monogr>
                     <author>
                        <name reg="Cayley, John">John Cayley</name>
                     </author>
                     <respStmt>
                        <resp>Interviewed by</resp>
                        <name reg="Stefans, Brian Kim">Brian Kim Stefans</name>
                     </respStmt>
                     <title level="m" type="WWW document">From Byte to Inscription: An Interview with John Cayley</title>
                     <imprint>
                        <publisher>The Iowa Review Web</publisher>
                        <date value="2003-02">February, 2003</date>
                     </imprint>
                  </monogr>
                  <note>
                     <xptr crdate="2005-03-21" to="http://www.uiowa.edu/~iareview/tirweb/feature/cayley/"/>
                  </note>
               </biblStruct>
               <biblStruct>
                  <analytic>
                     <author>
                        <name reg="Eskelinen, Markku">Markku Eskelinen</name>
                     </author>
                     <title level="a">Six Problems in Search of a Solution:
                           The challenge of cybertext theory and ludology to literary
                           theory</title>
                  </analytic>
                  <monogr>
                     <title level="j">Dichtung Digital</title>
                     <imprint>
                        <date value="2004-03">March 2004</date>
                     </imprint>
                  </monogr>
                  <note>
                     <xptr to="http://www.dichtung-digital.com/2004/3/Eskelinen/index.htm"/>
                  </note>
               </biblStruct>
               <biblStruct>
                  <monogr>
                     <author>
                        <name reg="Moulthrop, Stuart">Stuart Moulthrop</name>
                     </author>
                     <title level="m" type="WWW document">Interview with Stuart Moulthrop</title>
                     <respStmt>
                        <resp>Interviewed by</resp>
                        <name reg="Wardrip-Fruin, Noah">Noah Wardrip-Fruin</name>
                     </respStmt>
                     <imprint/>
                  </monogr>
                  <note>
                     <xptr crdate="2005-03-21"
                           to="http://www.uiowa.edu/~iareview/tirweb/feature/moulthrop/"/>The Iowa Review Web</note>
               </biblStruct>
               <biblStruct>
                  <analytic>
                     <author>
                        <name reg="Wardrip-Fruin, Noah">Noah Wardrip-Fruin</name>
                     </author>
                     <title level="a">From Instrumental
                           Texts to Textual Instruments</title>
                  </analytic>
                  <monogr>
                     <title level="m">Proceedings of Digital Arts and
                           Culture</title>
                     <imprint>
                        <pubPlace>Melbourne, Australia</pubPlace>
                        <date value="2003-05">May 2003</date>
                     </imprint>
                  </monogr>
               </biblStruct>
               <biblStruct>
                  <monogr>
                     <author>
                        <name reg="McGann, Jerome">Jerome McGann</name>
                     </author>
                     <title level="m">Radiant Textuality:
                           Literature after the World Wide Web</title>
                     <imprint>
                        <publisher>Palgrave Macmillan</publisher>
                        <pubPlace>New York</pubPlace>
                        <date value="2001">2001</date>
                     </imprint>
                  </monogr>
               </biblStruct>
               <biblStruct>
                  <monogr>
                     <author>
                        <name reg="Meehan, J.R.">J.R. Meehan</name>
                     </author>
                     <title level="m">The Metanovel: Writing Stories
                           by Computer</title>
                     <title level="s">Yale Computer Science Research Report 74</title>
                     <imprint>
                        <publisher>Yale</publisher>
                        <pubPlace>New Haven</pubPlace>
                        <date value="1976">1976</date>
                     </imprint>
                  </monogr>
               </biblStruct>
               <biblStruct>
                  <analytic>
                     <author>
                        <name reg="Bernstein, Mark">Mark Bernstein</name>
                     </author>
                     <title level="a">Card Shark and Thespis: Exotic tools
                           for hypertext narrative</title>
                  </analytic>
                  <monogr>
                     <title level="m">Proceedings of the twelfth ACM conference on
                           Hypertext and Hypermedia,  Århus, Denmark</title>
                     <imprint>
                        <pubPlace>New York</pubPlace>
                        <date value="2001">2001</date>
                        <biblScope type="pages">41-50</biblScope>
                     </imprint>
                  </monogr>
               </biblStruct>
            </listBibl>
         </div>
      </back>
   </text>
</TEI.2>