Colossal Cave: Difference between revisions

From Lojban
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:


== Proposed definitions ==
Colossal Cave (or Adventure) was the first text adventure game.


;'''su'o''' (PA): At least (one). Some.
Its text was translated into Lojban by [[User:Nick Nicholas|Nick Nicholas]] in 1991. [[jbocre: Robin Lee Powell|Robin Lee Powell]] implemented it in Inform in 2002, thus outputting a z-machine interpretable file. He also touched up the text a bit, as it was written before [[jbocre: the Great Rafsi Reallocation|the Great Rafsi Reallocation]] of 1993. Its Lojban name is '''nuntalyli'u'''.  You'll need a [http://www.inform-fiction.org/zmachine/interpreters.html -Machine interpreter] to run it.


so'e lo ponjo jugle'u cu lerfu fi su'o re lo se bacru
* {ATTACH(name=>nuntalylihu.z5,showdesc=>1)}{ATTACH}
* {ATTACH(name=>nuntalylihu.inf,showdesc=>1)}{ATTACH}


<br />''Most Japanese kanji have at least two pronunciations.''
* {ATTACH(name=>LojbanInform.zip,showdesc=>1)}{ATTACH}
* [[Basic nuntalylihu Instructions|Basic nuntalylihu Instructions]]


;'''su'e''' (PA): At most (one).
See also: [[jbocre: nuntalyli'u mini-dictionary|nuntalyli'u mini-dictionary]].


la cibyska cu se kelci su'e bi remna
These have mostly historical interest, I suppose:


<br />''Tricolor is played by at most eight people.''
* {ATTACH(name=>colossal_cave.txt, showdesc=>1)}{ATTACH}
* {ATTACH(name=>new_cc.txt, showdesc=>1)}{ATTACH}


;'''za'u''' (PA): More than (one).
* {ATTACH(name=>badlujvo.txt, showdesc=>1)}{ATTACH}. Most of the rafsi conversion was done programmatically by [[jbocre: Jay Kominek|Jay Kominek]].  The by-hand work was done by Eugene Mayes. badlujvo.txt is the list of lujvo that Eugene had to go through by hand. Any errors found should be reported to [[jbocre: Robin Lee Powell|Robin Lee Powell]].
* {file name=TranslationStyleAndMarkup.txt showdesc=1}


ko za'u re'u troci
* {file name=MissingColossalCavesText.txt showdesc=1}
 
<br />''Try again!''
 
;'''me'i''' (PA): Less than (all). Not all.
 
me'i gerku cu klama lo cevzda
 
<br />''Not all dogs go to heaven.''
 
;'''ji'i''' (PA): Approximately.
 
ji'i xa pi xa gigdo be lo remna cu xabju la terdi
 
<br />''Approximately 6.6 billion humans inhabit the Earth.''
 
;'''ro''' (PA): Each. All. Every.
 
lo srasu ro roi ri'ozma ze'o lo bitmu
 
<br />''The grass is always greener on the other side of the fence.''
 
;'''da'a''' (PA): All except (one).
 
da'a drata cu ci pa mei
 
<br />''All but one of the others are thirty-one-somes.''
 
;'''so'a''' (PA): Almost all. All but a few.
 
do so'a roi lerci
 
<br />''You're almost always late.''
 
;'''so'e''' (PA): Most. All but a significant number.
 
ta so'e mei
 
<br />''That's most of them.''
 
;'''so'i''' (PA): Many. A large number.
 
mi ba'o cilre so'i da lo xirma lo vi cukta
 
<br />''I have learned a lot about horses from this book.''
 
;'''so'o''' (PA): Several. A significant number.
 
so'o lo pendo be mi cu simlu lo ka jinvi lo du'u xamgu sidbo
 
<br />''Several of my friends seem to think it's a good idea.''
 
;'''so'u''' (PA): A few. A small number.
 
mi stali lo darno ze'a lo masti be li so'u
 
<br />''I stayed away for a few months.''
 
;'''no'o''' (PA): A vague number. Some number. A certain number.
 
ba lo mentu be li no'o lo minji cu sisti
 
<br />''After some number of minutes, the machine stopped.''
 
;'''rau''' (PA): Enough. The right number.
 
xu do pu snada lo nu cpacu lo rau kelci
 
<br />''Did you manage to get enough players?''
 
;'''du'e''' (PA): Too many. More than the right number.
 
du'e cuntu ka'e fliba
 
<br />''Too many things could go wrong.''
 
;'''mo'a''' (PA): Too few. Less than the right number.
 
mi'a mo'a roi casnu lo ckape
 
<br />''We discussed the dangers too few times.''
 
=== Formal definitions ===
 
||
 
su'o PA | vei na'u zmadu ja dunli PA
 
su'e PA | vei na'u mleca ja dunli PA
 
za'u PA | vei na'u zmadu PA
 
me'i PA | vei na'u mleca PA
 
ji'i PA | vei na'u jibni PA
 
da'a PA | vei na'u se sumji be lo mulno PA
 
ro | vei ni'e mulno
 
so'a | vei ni'e muljbi
 
so'e | vei ni'e xabmau
 
so'i | vei ni'e mutce
 
so'o | vei ni'e milxe
 
so'u | vei ni'e toltce
 
rau | vei ni'e drani
 
du'e | vei ni'e dukse
 
mo'a | vei ni'e toldu'e
 
no'o | vei ni'e co'e
 
||
 
=== Quantifiers ===
 
||
 
definite | :: no pa re ci vo mu xa ze bi ... da'aci da'are da'apa ro::
 
scalar | ::no [[jbocre: so'u|so'u]] [[jbocre: so'o|so'o]] [[jbocre: so'i|so'i]] [[jbocre: so'e|so'e]] [[jbocre: so'a|so'a]] ro::
 
generic | ::no [[jbocre: no'o|no'o]] ro::
 
subjective |  :: [[jbocre: mo'a|mo'a]]  [[jbocre: rau|rau]]  [[jbocre: du'e|du'e]]::
 
'''ranges'''
 
su'o PA | ::.......................... [[jbocre: PA ............................|PA ............................]]::
 
za'u PA | ::.......................... PA [[jbocre: ............................|............................]]::
 
su'e PA | ::[[jbocre: ......................... PA|......................... PA]] .............................::
 
me'i PA | ::[[jbocre: .........................|.........................]] PA .............................::
 
ji'i PA | ::................... [[jbocre: ...... PA ......|...... PA ......]] ........................::
 
||
 
||
 
'''da'a'''
 
da'a da'a PA | PA
 
da'a ro | no
 
da'a so'a | so'u
 
da'a so'e | so'o
 
da'a so'i | so'i
 
da'a so'o | so'e
 
da'a so'u | so'a
 
da'a no | ro
 
da'a rau | rau
 
da'a du'e | mo'a
 
da'a mo'a | du'e
 
da'a no'o | no'o
 
da'a su'o PA | su'e da'a PA
 
da'a su'e PA | su'o da'a PA
 
da'a za'u PA | me'i da'a PA
 
da'a me'i PA | za'u da'a PA
 
da'a ji'i PA | ji'i da'a PA
 
||
 
||
 
Definitions in terms of ''su'o'':
 
su'o N+1 da zo'u da broda | su'o da su'o N de zo'u ge da na du de gi da .e de broda
 
za'u N da | su'o N+1 da
 
su'e N da | naku su'o N+1 da
 
me'i N da | naku su'o N da
 
N da | su'o N da .enai su'o N+1 da
 
da'a PA da | PA da naku
 
||
 
In particular:
 
no da = me'ipa da = naku su'o da
 
ro da = da'ano da = no da naku = naku su'o da naku
 
||
 
With restricted da (i.e. da poi broda):
 
su'o da poi broda cu brode | su'o da zo'u da broda gi'e brode
 
su'o N da poi broda cu brode | su'o N da zo'u da broda gi'e brode
 
za'u N da poi broda cu brode | za'u N da zo'u da broda gi'e brode
 
su'e N da poi broda cu brode | su'e N da zo'u da broda gi'e brode
 
me'i N da poi broda cu brode | me'i N da zo'u da broda gi'e brode
 
N da poi broda cu brode | N da zo'u da broda gi'e brode
 
da'a Q da poi broda cu brode | da'a Q da zo'u da broda nagi'a brode
 
||
 
=== Internal grammar of quantifiers ===
 
||
 
quantifier | proportional / fractional
 
fractional | [[jbocre: prefix|prefix]] '''pi''' (indefinite / definite / prefix)
 
proportional | simple &amp; simple [[jbocre: '''fi'u''' ('''ro''' &amp; definite) / '''ce'i'''|'''fi'u''' ('''ro''' &amp; definite) / '''ce'i''']]
 
simple | prefix &amp; (indefinite / definite)
 
prefix | '''da'a''' &amp; ('''su'o''' / '''su'e''' / '''me'i''' / '''za'u''' / '''ji'i''') &amp; '''da'a'''
 
indefinite | '''so'u''' / '''so'o''' / '''so'i''' / '''so'e''' / '''so'a''' / '''ro''' / '''mo'a''' / '''rau''' / '''du'e''' / '''no'o'''
 
definite | ('''no''' / '''pa''' / '''re''' / '''ci''' / '''vo''' / '''mu''' / '''xa''' / '''ze''' / '''bi''' / '''so''' / '''ki'o''') ...
 
||
 
[[jbocre: | ]] indicates the enclosed element is optional
 
... indicates the preceding element may appear one or more times 
 
/ indicates either the preceding or the following element may appear
 
&amp; indicates the preceding, the following or both elements may appear
 
==== Defaults for bare prefix ====
 
When a prefix is not followed by a definite or indefinite, a default value is understood: the default is ''pa'' for ''su'o'', ''su'e'', ''za'u'' and ''da'a''; ''ro'' for ''me'i''; and a vague number (perhaps ''no'o'') for ''ji'i''.
 
==== Two adjacent simple quantifiers ====
 
*Two adjacent simple quantifiers are interpreted, when possible, as if joined with ''.e'':
 
ro ci broda
 
''all three brodas, all brodas and three brodas.''
 
rau su'o mu broda
 
''enough at least five brodas, enough brodas and at least five brodas.''
 
su'o ci su'e bi broda
 
''at least three at most eight brodas''
 
''at least three brodas and at most eight brodas''
 
''between three and eight brodas (inclusive)''
 
*Two adjacent simple quantifiers are interpreted, when joining them with .e would give a contradiction, as if joined with ''.a'':
 
me'i ci za'u ci broda
 
''less than three more than three brodas''
 
''less than three brodas or more than three brodas''
 
''i.e. other than three brodas''
 
mo'a du'e broda
 
''too few too many brodas''
 
''too few brodas or too many brodas''
 
''the wrong number of brodas''
 
==== Proportional quantifiers ====
 
re fi'u ci broda
 
''Two out of every three brodas.''
 
''Two thirds of brodas.''
 
za'u vo fi'u mu broda
 
''More than four out of every five brodas.''
 
''More than four fifths of brodas.''
 
du'a fi'u ro muno broda
 
''Too many out of all 50 broda.''
 
''Too many broda, of which there are 50 in all.''
 
* ''ce'i'' is equivalent to ''fi'u panono'':
 
za'u munoce'i broda
 
''More than half of all brodas.''
 
da'a cirepimu ce'i broda
 
''All but 32.5% of brodas.''
 
==== Fractional quantifiers ====
 
||
 
piPA ''sumti'' | lo piPA si'e be ''sumti''
 
||
 
When a sumti has a single referent (which may be a simple individual, a group, a set, etc.) then a fractional quantifier refers to a corresponding fraction of the referent. In particular, a fraction of a group or a set is a subgroup or subset whose cardinality is the corresponding fraction of the cardinality of the whole.
 
When a sumti has more than one referent (e.g. ''le ci plise'') then a fractional quantifier refers to a fraction of one (which one is not specified) of the referents. Then ''pimu le ci plise'' is "half of one of the three apples. Then more generally we can define:
 
||
 
piPA ''sumti'' | lo piPA si'e be pa me ''sumti''
 
||
 
which will also cover the case of a single referent.
 
We may then generalize to things like ''repimu le ci plise'' for "two and a half of the three apples".
 
===  Issues ===
 
* [http://groups.google.com/group/lojban/browse_thread/thread/7faee6194afce4ec he only link I ( mi'e la .lindar. ) will provide regarding "existential importing" regarding 'ro'.]
* [https://groups.google.com/group/lojban/tree/browse_frm/month/2005-08/caad646bf14f367f?rnum=21&amp;_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2005-08%3F#doc_d8d0beca5407594b i'i ?|ttps://groups.google.com/group/lojban/tree/browse_frm/month/2005-08/caad646bf14f367f?rnum=21&amp;_done=%2Fgroup%2Flojban%2Fbrowse_frm%2Fmonth%2F2005-08%3F#doc_d8d0beca5407594b i'i ?]]

Revision as of 16:45, 4 November 2013

Colossal Cave (or Adventure) was the first text adventure game.

Its text was translated into Lojban by Nick Nicholas in 1991. Robin Lee Powell implemented it in Inform in 2002, thus outputting a z-machine interpretable file. He also touched up the text a bit, as it was written before the Great Rafsi Reallocation of 1993. Its Lojban name is nuntalyli'u. You'll need a -Machine interpreter to run it.

  • {ATTACH(name=>nuntalylihu.z5,showdesc=>1)}{ATTACH}
  • {ATTACH(name=>nuntalylihu.inf,showdesc=>1)}{ATTACH}

See also: nuntalyli'u mini-dictionary.

These have mostly historical interest, I suppose:

  • {ATTACH(name=>colossal_cave.txt, showdesc=>1)}{ATTACH}
  • {ATTACH(name=>new_cc.txt, showdesc=>1)}{ATTACH}
  • {ATTACH(name=>badlujvo.txt, showdesc=>1)}{ATTACH}. Most of the rafsi conversion was done programmatically by Jay Kominek. The by-hand work was done by Eugene Mayes. badlujvo.txt is the list of lujvo that Eugene had to go through by hand. Any errors found should be reported to Robin Lee Powell.
  • {file name=TranslationStyleAndMarkup.txt showdesc=1}
  • {file name=MissingColossalCavesText.txt showdesc=1}