Changes

Jump to navigation Jump to search
416 bytes removed ,  04:24, 10 August 2011
no edit summary
Line 1: Line 1:  +
==Text dungeon==
 
A text dungeon game for literacy and numeracy
 
A text dungeon game for literacy and numeracy
   −
Text dungeon.jpg
     −
(Will transfer this page to Activities/Textdungeon if it gets to a working version.)
+
[[File:Textdungeon1.xo]] is a Sugarised install bundle, works Sugar 0.88 - 0.92
 
  −
The dungeon File:Sampledungeon.doc description file is plain text and can be edited with the Write Activity. It is purposefully unencrypted and easily edited. 'Cheating' by reading or altering the dungeon is encouraged.
  −
 
  −
File:Textdungeon.doc is a version of the program's Python code which works from the command line
  −
 
  −
File:Textdungeon1.xo is a Sugarised install bundle, works Sugar 0.88 - 0.92
      
The intention is that children would both play and create dungeons to develop math, literacy and problem solving skills:
 
The intention is that children would both play and create dungeons to develop math, literacy and problem solving skills:
Line 15: Line 9:  
Playing the game
 
Playing the game
   −
    visualise 2D spaces (could extend to 3D or even 4D)
+
* visualise 2D spaces (could extend to 3D or even 4D)
    navigate compass directions N E S W and relationship to right, left
+
* navigate compass directions N E S W and relationship to right, left
    text literacy
+
* text literacy
    can include subject related content
+
* can include subject related content
    problem solving  
+
* problem solving
    
Making/editing/reading a dungeon file
 
Making/editing/reading a dungeon file
   −
    all the above plus
+
* all the above plus
    Cartesian coordinates
+
* Cartesian coordinates
    variables
+
* variables
    word processing skills
+
* word processing skills
    programming like skills
+
* programming like skills
    create in any language  
+
* create in any language
 
  −
[edit] Dungeon file format
      +
===Dungeon file format===
 
[l,room x,room y] your location
 
[l,room x,room y] your location
   Line 40: Line 33:  
[d,room x, room y, direction, locked, room x, .....] status of wall/door segments, unlisted segments are locked, doors can be asymmetric
 
[d,room x, room y, direction, locked, room x, .....] status of wall/door segments, unlisted segments are locked, doors can be asymmetric
   −
[r,room x,room y,direction,item which unlocks,open text,closed text,text when opening] one entry for each unlockable door
+
[r,room x,room y,direction,item which unlocks,open text,closed text,text when opening] one entry for each unlockable door
   −
Sampledungonmap.jpg
+
[[File:Sampledungonmap.jpg]]
    
For example, the Sampledungeon represented above is described by these strings
 
For example, the Sampledungeon represented above is described by these strings
 +
 +
[u,0,0,lamp,0,1,key,1,1,sword,1,0,princess] #key in room 0,1 , sword in room 1,1 ,princess room 1,0
   −
[u,0,0,lamp,0,1,key,1,1,sword,1,0,princess] #key in room 0,1 , sword in room 1,1 ,princess room 1,0
+
[d,0,0,0,0,0,1,2,0,0,1,1,1,1,1,2,1,1,1,3,0,1,0,0,0] #room 0,0 north door open, room 0,1 east door locked etc
 
  −
[d,0,0,0,0,0,1,2,0,0,1,1,1,1,1,2,1,1,1,3,0,1,0,0,0] #room 0,0 north door open, room 0,1 east door locked etc
  −
[edit] Keyboard commands
      +
===Keyboard commands===
 
h - help
 
h - help
  
2,486

edits

Navigation menu