1
0
forked from pabulaner/vivi
vivi-exercises/chess/example-output.txt
2025-02-15 15:07:13 +01:00

49 lines
1.2 KiB
Plaintext

Welcome to Vivi's Chess Game!
A B C D E F G H
1 ■ □ ■ □ ■ □ ■ □
2 □ ■ □ ■ □ ■ □ ■
3 ■ □ ■ □ ■ □ ■ □
4 □ ■ □ ■ □ ■ □ ■
5 ■ □ ■ □ ■ □ ■ □
6 □ ■ □ ■ □ ■ □ ■
7 ■ □ ■ □ ■ □ ■ □
8 □ ■ □ ■ □ ■ □ ■
It is white's turn: [from:to]
A7:A5 <-- user input
Moving white 'Pawn' from A7 to A5
A B C D E F G H
1 ■ □ ■ □ ■ □ ■ □
2 □ ■ □ ■ □ ■ □ ■
3 ■ □ ■ □ ■ □ ■ □
4 □ ■ □ ■ □ ■ □ ■
5 ■ □ ■ □ ■ □ ■ □
6 □ ■ □ ■ □ ■ □ ■
7 ■ □ ■ □ ■ □ ■ □
8 □ ■ □ ■ □ ■ □ ■
It is black's turn: [from:to]
D2:D3
Moving black 'Pawn' from D2 to D3
A B C D E F G H
1 ■ □ ■ □ ■ □ ■ □
2 □ ■ □ ■ □ ■ □ ■
3 ■ □ ■ □ ■ □ ■ □
4 □ ■ □ ■ □ ■ □ ■
5 ■ □ ■ □ ■ □ ■ □
6 □ ■ □ ■ □ ■ □ ■
7 ■ □ ■ □ ■ □ ■ □
8 □ ■ □ ■ □ ■ □ ■
It is white's turn: [from:to]
B2:B3
Illegal move, try again: [from:to]
A8:A1
Illegal move, try again: [from:to]
Hello World!
Illegal input, try again: [from:to]
Z6:X9
Illegal input, try again: [from:to]