Grammar Sketch

Some of the non-terminals are appended with the letters, DO. This indicates thecase when the condition results in a direct object on which the action execute.For example, when see red apple creates a direct object, the red apple, and youcan move toward it. On the other hand, when gamepad A does not create adirect object, so you cannot move toward anything utan recept.

 

Game ! GameActors j

  • GameActors ! Actor GameActors j Actor
  • Actor ! Page Actor j Page
  • Page ! Rule Page j Rule j 
  • Rule ! ConditionAction j ConditionAction Page j Condition-
  • Action j ConditionAction Page j MeAction j MeAction Page
  • ConditionAction ! Conditions not j Conditions
  • Conditions ! DOConditions DOAction j OtherConditions MeActionj HeldByAction
  • DOConditions ! WhenMouseDO j WhenSight j WhenHearing j When-Bump j WhenShotHit
  • OtherConditions ! WhenGamePad j WhenKeyBoard j WhenMouseOther
  • j WhenTimer j WhenGot j WhenScore j WhenHealth
  • j WhenOnLand j WhenOnWater j WhenAlways
  • DOAction ! DoMovementDO j DoTurningDO j DoEatDO j
  • DoLaunchDO j ActuatorsDirectObject j DoHold-
  • ingDO j DoResetDO j GenericAction
  • MeAction ! DoMovement j DoTurning j DoEatOther j DoLaunch
  • j ActuatorsMeObject j DoHolding j DoReset j Gener-icAction
  • GenericAction ! DoSay j DoOpenClose j DoCreate j DoSound j Do-
  • Jump j DoSwitch j DoShoot j DoEndGame j DoScor-ing j DoCamera
  • HeldByAction ! DoTurning j DoEatDO j DoLaunchDO j ActuatorsDi-
  • rectObject j DoResetDO j GenericAction
  • ActuatorsDirectObject ! ActuatorsVariableObject DirectObjectModi er
  • ActuatorsMeObject ! ActuatorsVariableObject MeModi er
  • ActuatorsVariableObject ! Remove j DamageHeal j GlowColorExpress
  • DoCamera ! follow j ignore j rstperson
  • DoScoring ! ScoreTiles NumberComparisonFilter OnceModi er
  • ScoreTiles ! score j unscore
  • OnceModi er ! once j 
  • DoEndGame ! end j victory PlayerFilter ColorFilter
  • DoReset ! ResetActuator HealthGlowExpress MeModi er j Re-setWorld
  • DoResetDO ! ResetActuator HealthGlowExpress DirectObjectMod-i er j ResetWorld
  • ResetActuator ! reset
  • ResetWorld ! ResetActuator WorldScoreModi er
  • MeModi er ! me j 
  • HealthGlowExpress ! ResetHealthModi er ResetGlowModi er ResetEx-
  • pressModi er OnceModi er
  • ResetHealthModi er ! health j 
  • ResetGlowModi er ! glow j 
  • ResetExpressModi er ! express j 
  • WorldScoreModi er ! world ScoreBucketFilter j score ScoreBucketFilter On-
  • ceFilter j world score ScoreBucketFilter
  • DoHolding ! grab OnceFilter j give j drop
  • DoHoldingDO ! grab OnceFilter ItModi er j give j drop
  • Remove ! CombatModi ers OnceModi er
  • CombatModi ers ! vanish j boom j knockout j stun
  • DamageHeal ! DamageOrHeal ScoreFilter RandomFilter OnceModi-er
  • DamageOrHeal ! damage j heal
  • BlipMissileModi er ! blip j missile j 
  • CardinalDirection ! NSModi er EWModi er
  • NSModi er ! north j south j 
  • EWModi er ! east j west j 
  • UpDownModi er ! up j down j 
  • DoShoot ! shoot BlipMissileModi ers OnceModi er
  • BlipMissileModi ers ! MissileOrBlip BlipMissileOptions
  • MissileOrBlip ! Blip j Missile Blip ! blip j 
  • Missile ! missile LevelCruise j 
  • BlipMissileOptions ! DirectionModi ers ColorFilters CombatOrNone Once-Modi er
  • CombatOrNone ! CombatModi ers j 
  • LevelCruise ! level j cruise j 
  • DirectionModi ers ! CardinalUpDown j forward
  • CardinalUpDown ! CardinalDirection j UpDownModi er j 
  • DoSwitch ! switch TaskModi er
  • TaskModi er ! page PageNumber
  • PageNumber ! 0 j 1 j 2 j : : :
  • DoJump ! jump HighLowModi er OnceModi er
  • HighLowModi er ! HighModi er j LowModi er
  • HighModi er ! high HighModi er j 
  • LowModi er ! low LowModi er j 
  • DoSound ! QuietOrPlay AnyAllSounds OnceModi er
  • QuietOrPlay ! quiet j play
  • AnyAllSounds ! anysound j SoundFilter j 
  • GlowColorExpress ! DoGlow j DoColor j DoExpress j
  • DoGlow ! glow GlowColorsO OnceModi er
  • GlowColorsO ! ColorFilter j glowo j 
  • DoColor ! color ColorFilter OnceModi er
  • DoExpress ! express ExpressionFilter OnceModi er
  • DoLaunchDO ! DoLaunch ItModi er
  • DoLaunch ! launch ColorFilter ObjectCreatable StrengthModi er
  • CardinalUpDown HighLowModi er OnceModi er
  • StrengthModi er ! WeakModi er j StrongModi er
  • WeakModi er ! weak WeakModi er j 
  • StrongModi er ! strong StrongModi er j 
  • DoCreate ! create ColorFilter ObjectCreatable OnceModi er
  • ObjectCreatable ! ObjectModi er j CreatableModi er j 
  • ObjectModi er ! rock j apple j star j coin j heart j ball j ammo
  • CreatableModi er ! creatable
  • OnceMeModi er ! OnceModi er MeModi er
  • DirectObjectModi er ! MeModi er j ItModi er
  • ItModi er ! it j 
  • DoOpenClose ! OpenClose OnceMeModi er
  • OpenClose ! open j close
  • DoSay ! text OnceModi er
  • DoEatDO ! DoEat DirectObjectModi er
  • DoEat ! eat OnceModi er
  • DoTurning ! turn TurnDirection SpeedModi er
  • DoTurningDO ! turn TurnDirectionDO SpeedModi er
  • TurnDirection ! forward j left j right j 
  • TurnDirectionDO ! toward j TurnDirection
  • SpeedModi er ! SlowModi er j FastModi er
  • SlowModi er ! slowly SlowModi er j 
  • FastModi er ! quickly FastModi er j 
  • DoMovement ! move MovementModi ers ConstraintModi ers Speed-Modi er
  • DoMovementDO ! move MovementModi ersDO ConstraintModi ers SpeedModi er
  • MovementModi ers ! CardinalDirection j wander j forward j followpath Col- orFilter j 
  • MovementModi ersDO ! toward j away j avoid j circle RightLeftFilter Range-Filter j MovementModi ers
  • ConstraintModi ers ! NSEWConstraints j freeze j 
  • NSEWConstraints ! NSConstraintModi er EWConstraintModi er
  • NSConstraintModi er ! ns j 
  • EWConstraintModi er ! ew j 
  • WhenGamePad ! gamepad GamePadFilter PlayerFilter
  • GamePadFilter ! GamePadStickFilter j GamePadButtonFilter
  • GamePadStickFilter ! GamePadSticks DirectionFilter
  • GamePadSticks ! lstick j rstick
  • GamePadButtonFilter ! abutton j bbutton j xbutton j ybutton j ltrigger j rtrig-
  • ger j 
  • PlayerFilter ! player1 j player2 j player3 j player4 j 
  • DirectionFilter ! UpDownFilter RightLeftFilter
  • UpDownFilter ! DirectionUpFilter j DirectionDownFilter j 
  • RightLeftFilter ! DirectionRightFilter j DirectionLeftFilter j 
  • DirectionUpFilter ! up
  • DirectionDownFilter ! down
  • DirectionRightFilter ! right
  • DirectionLeftFilter ! left
  • WhenKeyBoard ! keyboard KeyBoardKeyFilter
  • KeyBoardKeyFilter ! akey j bkey j : : : j zkey j d0key j d1key j : : : j d9key j
  • f1key j f2key j : : : j f12key j spacekey j pageupkey j : : :
  • WhenMouseDO ! mouse MouseSelect ExplicitSubjectTerrain
  • WhenMouseOther ! mouse MouseMove
  • MouseMove ! move
  • MouseSelect ! leftbutton j rightbutton j hover
  • ExplicitSubjectTerrain ! TerrainFilter j ExplicitSubject
  • ExplicitSubject ! ObjectFilter DescriptionFilter MeFilter
  • ObjectFilter ! kodu j anything j
  • y sh j jet j light j cycle j saucer j
  • blimp j balloon j sub j cannon j puck j wisp j anybot j
  • turtle j pushpad j sputnik j stick j drum j mine j cloud
  • j sh j ship j factory j hut j castle j tree j anybuilding
  • j ObjectModi er j 
  • MeFilter ! me j 
  • DescriptionFilter ! ColorFilter ExpressionFilter RangeFilter
  • ColorFilter ! black j grey j white j red j orange j yellow j green j blue
  • j purple j pink j brown j 
  • ExpressionFilter ! happy j sad j angry j crazy j hearts j
  • owers j stars j
  • swears j blank j 
  • RangeFilter ! CloseFilter j FarFilter
  • CloseFilter ! close CloseFilter j 
  • FarFilter ! far FarFilter j 
  • WhenSight ! see ExplicitSubject
  • WhenHearing ! hear ExplicitSubjectSounds
  • ExplicitSubjectSounds ! SoundFilter ObjectFilter DescriptionFilter MeFilter
  • SoundFilter ! : : : j 
  • WhenBump ! bump ExplicitSubjectNoRange
  • ExplicitSubjectNoRange ! ObjectFilter ColorFilter ExpressionFilter MeFilter
  • WhenTimer ! timer TimerFilter RandomFilter
  • TimerFilter ! Times TimerFilter j Times
  • Times ! 0.25s j 1s j 2s j 3s j 4s j 5s j 10s j 20s j 30s j 60s
  • RandomFilter ! random j 
  • WhenGot ! got ExplicitSubjectNoRange
  • WhenScore ! scored NumberComparisonFilter ScoreBucketFilter
  • ScoreFilter ! Scores j Scores ScoreFilter
  • Scores ! 0 j 1 j 2 j 3 j 4 j 5 j 10 j 20 j 50 j 100
  • ScoreBucketFilter ! whitebucket j blackbucket j greybucket j redbucket j
  • greenbucket j bluebucket j orangebucket j yellowbucket
  • j purplebucket j pinkbucket j brownbucket j abucket j
  • bbucket j : : : j zbucket
  • ScoreCompareFilter ! scoreis j scoreabove j scorebelow
  • WhenHealth ! health NumberComparisonFilter
  • NumberComparisonFilter ! ScoreFilter RandomFilter ScoreBucketFilter
  • WhenShotHit ! hit ExplicitSubject
  • WhenHeldBy ! held ExplicitSubjectNoRange
  • WhenOnLand ! terrain TerrainFilter
  • TerrainFilter ! : : : j 
  • WhenOnWater ! water WaterFilter
  • WaterFilter ! : : : j 
  • WhenAlways ! always
Responses are currently closed, but you can trackback from your own site.

Comments are closed.

Powered by 1A World Ltd