freevryheid / longbow

warband chess variant
MIT License
6 stars 1 forks source link

feedback for adjusting 'play' output #1

Closed JohnAD closed 5 years ago

JohnAD commented 5 years ago

@freevryheid

Like the game! Having now played it, I totally see where not announcing the chosen move makes for a difficult-to-follow game. I'll make a change to 'turn_based_game' to fix that.

So...given the current output:

-----------------
White's Turn

   Status:

      8  b b b b b b b b
      7  n n n n n n n n
      6  p p p p p p p p
      5  . . . . . . . .
      4  . . . . . . . .
      3  P P P P P P P P
      2  N N N N N N N N
      1  B B B B B B B B

         a b c d e f g h

   Possible moves:
      [a3a4] [b3b4] [c3c4] [d3d4] [e3e4] [f3f4] [g3g4] [h3h4] [a2b4] [b2c4] [b2a4] [c2d4] [c2b4] [d2e4] [d2c4] [e2f4] [e2d4] [f2g4] [f2e4] [g2h4] [g2f4] [h2g4] [a1f6] [a1g7] [a1h8] [b1g6] [b1h7] [c1h6] [f1a6] [g1b6] [g1a7] [h1c6] [h1b7] [h1a8] 
   Enter move (or 'quit'): 
a3a4

   Captured pieces:
    white:
    black:

-----------------
Black's Turn

   Captured pieces:
    white: B
    black:

would this be ideal?:

-----------------
White's Turn

   Status:

      8  b b b b b b b b
      7  n n n n n n n n
      6  p p p p p p p p
      5  . . . . . . . .
      4  . . . . . . . .
      3  P P P P P P P P
      2  N N N N N N N N
      1  B B B B B B B B

         a b c d e f g h

   Possible moves:
      [a3a4] [b3b4] [c3c4] [d3d4] [e3e4] [f3f4] [g3g4] [h3h4] [a2b4] [b2c4] [b2a4] [c2d4] [c2b4] [d2e4] [d2c4] [e2f4] [e2d4] [f2g4] [f2e4] [g2h4] [g2f4] [h2g4] [a1f6] [a1g7] [a1h8] [b1g6] [b1h7] [c1h6] [f1a6] [g1b6] [g1a7] [h1c6] [h1b7] [h1a8] 
   Enter move (or 'quit'): 
a3a4

White chose "a3a4".

   Captured pieces:
    white:
    black:

-----------------
Black's Turn

Black chose "a8h1".

   Captured pieces:
    white: B
    black:
freevryheid commented 5 years ago

That's perfect - thanks.

JohnAD commented 5 years ago

change has been made! See PR #2 for adding a .nimble file to point to the upgraded library version.