Author Topic: Izdari Boards  (Read 557 times)

nessalin

  • Board Administrator
  • Posts: 488
Izdari Boards
« on: April 20, 2019, 12:14:41 AM »
All (probably) of the izdari boards in the game have been updated with a script that lets player move pieces around on their surfaces.  Along with a script their descriptions have been updated with the following line:

Code: [Select]
To see how the board is used type: use board help
Code: [Select]
> use board help
'use board look'
--Displays the locatin of all the pieces on the baord.
'use board <from> <to>'
--ex use board a1 d1
--Moves a piece on the board at the 'from' location to the 'to' location.
'use board remove <piece>'
--ex use board remove a1
--Removes a piece from the board.
'use board undo'
--Undoes the most recent move, if any, to handle mistaken moves.
'use board reset'
--Resets the pieces on the board to start a new game.

Code: [Select]
> use board look
.....1...2...3...4...5...6...7...8...9...10
..-----------------------------------------
A.| [T] [K] [K] [A] [T] [T] [A] [K] [K] [T]
B.| [K] [H] [T] [ ] [ ] [ ] [ ] [T] [H] [K]
C.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
D.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
E.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
F.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
G.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
H.| [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ]
I.| [k] [h] [t] [ ] [ ] [ ] [ ] [t] [h] [k]
J.| [t] [k] [k] [a] [t] [t] [a] [k] [k] [t]

For those with ANSI clients they likely see something like this:
"I wanna be an architect"

nessalin

  • Board Administrator
  • Posts: 488
Re: Izdari Boards
« Reply #1 on: April 21, 2019, 12:41:50 AM »
Shoutout to Nathvaan who updated this code so the ANSI colors would work with way more MUD clients than my original implementation did.
"I wanna be an architect"