Miniature/Development/testcases

(Game Endings)
(Game Endings)
Line 7: Line 7:
{| width="80%" cellspacing="1" cellpadding="1" border="1"
{| width="80%" cellspacing="1" cellpadding="1" border="1"
|-
|-
-
! scope="col" | #<br>
+
! scope="col" | #  
-
! scope="col" | Game's end<br>Reason<br>
+
! scope="col" | Game's endReason
-
! scope="col" | Active<br>part<br>
+
! scope="col" | Activepart
-
! scope="col" | Steps to reproduce<br>
+
! scope="col" | Steps to reproduce  
-
! scope="col" | Expected result<br>
+
! scope="col" | Expected result  
-
! scope="col" | Actual result<br>
+
! scope="col" | Actual result  
-
! scope="col" | FICS log<br>
+
! scope="col" | FICS log  
-
! scope="col" | Already<br>tested?<br>
+
! scope="col" | Alreadytested?  
-
! scope="col" | Test<br>result<br>
+
! scope="col" | Testresult
|-
|-
-
! scope="row" | 1.1.1<br>
+
! scope="row" | 1.1.1  
-
| Abort request during move 1<br>by player (white)<br>
+
| Abort request during move 1by player (white)  
-
| player<br>
+
| player  
|  
|  
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)<br>
+
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
-
2. Player: Request "Abort game"<br>
+
2. Player: Request "Abort game"  
|  
|  
-
*Game ends immidiately<br>
+
*Game ends immidiately  
*no rating modification happens  
*no rating modification happens  
-
*SeekGames Window appears<br>
+
*SeekGames Window appears
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 1.1.2<br>
+
! scope="row" | 1.1.2  
-
| Abort request during move 1<br>by player (black)<br>
+
| Abort request during move 1by player (black)  
-
| player<br>
+
| player  
|  
|  
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)<br>
+
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
-
2. Opponent: Make a move (1. e4)<br>
+
2. Opponent: Make a move (1. e4)  
3. Player: Request "Abort game"  
3. Player: Request "Abort game"  
Line 50: Line 50:
*SeekGames Window appears
*SeekGames Window appears
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 1.2<br>
+
! scope="row" | 1.2  
-
| Abort request during move 1<br>by opponent<br>
+
| Abort request during move 1by opponent  
-
| opponent<br>
+
| opponent  
| &nbsp;1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
| &nbsp;1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
-
2. Player: Make a move (1. e4)<br>
+
2. Player: Make a move (1. e4)  
-
3. Opponent: Request "Abort game"<br>
+
3. Opponent: Request "Abort game"  
|  
|  
-
*Game ends immidiately<br>
+
*Game ends immidiately  
-
*no rating modification happens<br>
+
*no rating modification happens  
-
*Dialog with explanation appears: "Game aborted on move 1"<br>
+
*Dialog with explanation appears: "Game aborted on move 1"  
*SeekGames Window appears
*SeekGames Window appears
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 1.3.1<br>
+
! scope="row" | 1.3.1  
|  
|  
-
Abort request after turn 1<br>by player:<br>Opponent accepts<br>
+
Abort request after turn 1by player:Opponent accepts  
-
| player<br>
+
| player  
|  
|  
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)<br>
+
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
-
2. Player: Make a move (1. e4)<br>
+
2. Player: Make a move (1. e4)  
-
3. Opponent: Make a move (1. ...e5)<br>
+
3. Opponent: Make a move (1. ...e5)  
-
4. Player: Request "Abort game"<br>
+
4. Player: Request "Abort game"  
5. Opponent accepts this request  
5. Opponent accepts this request  
|  
|  
-
*game's end dialog<br>
+
*game's end dialog
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 1.3.2<br>
+
! scope="row" | 1.3.2  
-
| Abort request after turn 1 by player:<br>Opponent declines<br>
+
| Abort request after turn 1 by player:Opponent declines  
-
| opponent<br>
+
| opponent  
|  
|  
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)<br>
+
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
-
2. Player: Make a move (1. e4)<br>
+
2. Player: Make a move (1. e4)  
-
3. Opponent: Make a move (1. ...e5)<br>
+
3. Opponent: Make a move (1. ...e5)  
-
4. Player: Request "Abort game"<br>
+
4. Player: Request "Abort game"  
5. Opponent declines this request  
5. Opponent declines this request  
|  
|  
-
*An [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] should appear for 5 seconds: "Request declined by Opponent"<br>
+
*An [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] should appear for 5 seconds: "Request declined by Opponent"
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 1.4.1<br>
+
! scope="row" | 1.4.1  
|  
|  
-
Abort request after turn 1<br>by opponent:<br>
+
Abort request after turn 1by opponent:  
-
Player accepts<br>
+
Player accepts  
-
| player<br>
+
| player  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 140: Line 140:
*On accept: games end dialog
*On accept: games end dialog
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 1.4.2<br>
+
! scope="row" | 1.4.2  
|  
|  
-
Abort request after turn 1 by opponent:<br>Player declines<br>
+
Abort request after turn 1 by opponent:Player declines  
-
| player<br>
+
| player  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 157: Line 157:
3. Player: Make a move (1. ...e5)  
3. Player: Make a move (1. ...e5)  
-
4. Opponent: Request "Abort game" <br>
+
4. Opponent: Request "Abort game"
|  
|  
*A non modal dialog (not overlaping the board) appears: "Opponent requests abort." + button "accept" + button "decline"  
*A non modal dialog (not overlaping the board) appears: "Opponent requests abort." + button "accept" + button "decline"  
-
*On decline: Confirmation of this by an [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] which appears for 5 seconds "Abort request declined"<br>
+
*On decline: Confirmation of this by an [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] which appears for 5 seconds "Abort request declined"
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 2.1.1<br>
+
! scope="row" | 2.1.1  
-
| Player proposes draw:<br>Opponent accepts<br>
+
| Player proposes draw:Opponent accepts  
-
| opponent<br>
+
| opponent  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 180: Line 180:
4. Player: Request "Propose Draw"  
4. Player: Request "Propose Draw"  
-
5. Opponent accepts this request<br>
+
5. Opponent accepts this request  
|  
|  
-
*game's end dialog with headline "game drawn!"<br>
+
*game's end dialog with headline "game drawn!"
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 2.1.2<br>
+
! scope="row" | 2.1.2  
-
| Player proposes draw:<br>Opponent declines<br>
+
| Player proposes draw:Opponent declines  
-
| opponent<br>
+
| opponent  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 202: Line 202:
4. Player: Request "Propose Draw"  
4. Player: Request "Propose Draw"  
-
5. Opponent declines this request<br>
+
5. Opponent declines this request  
|  
|  
-
*An [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] should appear for 5 seconds: "Draw request declined by Opponent"<br>
+
*An [http://www.developer.nokia.com/swipe/ux/pages/System_Banners.html information banner] should appear for 5 seconds: "Draw request declined by Opponent"
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 2.2.1<br>
+
! scope="row" | 2.2.1  
-
| Opponent proposes draw:<br>Player accepts<br>
+
| Opponent proposes draw:Player accepts  
-
| player<br>
+
| player  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 222: Line 222:
3. Player: Make a move (1. ...e5)  
3. Player: Make a move (1. ...e5)  
-
4. Opponent: Request "Propose Draw" <br>
+
4. Opponent: Request "Propose Draw"
|  
|  
-
*A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"<br>
+
*A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"  
*On accept: game's end dialog
*On accept: game's end dialog
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 2.2.2<br>
+
! scope="row" | 2.2.2  
-
| Opponent proposes draw:<br>Player declines<br>
+
| Opponent proposes draw:Player declines  
-
| player<br>
+
| player  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 243: Line 243:
3. Player: Make a move (1. ...e5)  
3. Player: Make a move (1. ...e5)  
-
4. Opponent: Request "Propose draw" <br>
+
4. Opponent: Request "Propose draw"
|  
|  
-
*A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"<br>
+
*A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"  
*On decline: Confirmation of this by an information banner which appears for 5 seconds "Abort request declined"
*On decline: Confirmation of this by an information banner which appears for 5 seconds "Abort request declined"
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 3.1.1<br>
+
! scope="row" | 3.1.1  
|  
|  
-
Player proposes adjourn:<br>Opponent accepts<br>
+
Player proposes adjourn:Opponent accepts  
-
| opponent<br>
+
| opponent  
|  
|  
-
same as in in 2.1.1 but "Adjourn request"<br>
+
same as in in 2.1.1 but "Adjourn request"  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 3.1.2<br>
+
! scope="row" | 3.1.2  
-
| Player proposes adjourn:<br>Opponent declines<br>
+
| Player proposes adjourn:Opponent declines  
-
| opponent<br>
+
| opponent  
|  
|  
-
same as in 2.1.2 but "Adjourn request"<br>
+
same as in 2.1.2 but "Adjourn request"  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 3.2.1<br>
+
! scope="row" | 3.2.1  
-
| Opponent proposes adjourn:<br>Player accepts<br>
+
| Opponent proposes adjourn:Player accepts  
-
| player<br>
+
| player  
|  
|  
-
same as in 2.2.1 but "Adjourn request"<br>
+
same as in 2.2.1 but "Adjourn request"  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 3.2.2<br>
+
! scope="row" | 3.2.2  
-
| Opponent proposes adjourn:<br>Player declines<br>
+
| Opponent proposes adjourn:Player declines  
-
| player<br>
+
| player  
|  
|  
-
same as in 2.2.2 but "Adjourn request"<br>
+
same as in 2.2.2 but "Adjourn request"  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 4.1<br>
+
! scope="row" | 4.1  
-
| Player resigns by request<br>
+
| Player resigns by request  
-
| player<br>
+
| player  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 314: Line 314:
3. Opponent: Make a move (1. ...e5)  
3. Opponent: Make a move (1. ...e5)  
-
4. Player: Request "Resign game"<br>
+
4. Player: Request "Resign game"  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 4.2<br>
+
! scope="row" | 4.2  
-
| Opponent resigns by request<br>
+
| Opponent resigns by request  
-
| opponent<br>
+
| opponent  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)  
Line 332: Line 332:
3. Player: Make a move (1. ...e5)  
3. Player: Make a move (1. ...e5)  
-
4. Opponent: Request "Resign game" <br>
+
4. Opponent: Request "Resign game"
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 5.1<br>
+
! scope="row" | 5.1  
-
| Player forfelts on time<br>
+
| Player forfelts on time  
-
| player<br>
+
| player  
|  
|  
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.<br>
+
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.  
-
2. Wait until players time is over<br>
+
2. Wait until players time is over  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 5.2<br>
+
! scope="row" | 5.2  
-
| Opponent forfelts on time<br>
+
| Opponent forfelts on time  
-
| opponent<br>
+
| opponent  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.  
Line 362: Line 362:
2. Player: Make a move (1. e4)  
2. Player: Make a move (1. e4)  
-
3. Wait until opponents time is over<br>
+
3. Wait until opponents time is over  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 6.1<br>
+
! scope="row" | 6.1  
-
| Checkmate: player wins<br>
+
| Checkmate: player wins  
-
| player<br>
+
| player  
|  
|  
-
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as black<br>
+
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as black
-
2. Opponent: Make a move (1. f3)<br>
+
2. Opponent: Make a move (1. f3)
-
3. Player: Make a move (1. ...e5)<br>
+
3. Player: Make a move (1. ...e5)
-
4. Opponent: Make a move (2. g4)<br>
+
4. Opponent: Make a move (2. g4)
5. Player: Make a move (2. ...Dh4#)
5. Player: Make a move (2. ...Dh4#)
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 6.2<br>
+
! scope="row" | 6.2  
-
| Checkmate: opponent wins<br>
+
| Checkmate: opponent wins  
-
| opponent<br>
+
| opponent  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
Line 402: Line 402:
4. Player: Make a move (2. g4)
4. Player: Make a move (2. g4)
-
5. Opponent: Make a move (2. ...Dh4#)<br>
+
5. Opponent: Make a move (2. ...Dh4#)
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 7.1<br>
+
! scope="row" | 7.1  
-
| Stalemate: players move<br>
+
| Stalemate: players move  
-
| player<br>
+
| player  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 7.2<br>
+
! scope="row" | 7.2  
-
| Stalemate: opponents move<br>
+
| Stalemate: opponents move  
-
| opponent<br>
+
| opponent  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 8.1<br>
+
! scope="row" | 8.1  
-
| Draw: [http://en.wikipedia.org/wiki/Glossary_of_chess#Insufficient_material insufficient material]:<br>Players move<br>
+
| Draw: [http://en.wikipedia.org/wiki/Glossary_of_chess#Insufficient_material insufficient material]:Players move  
-
| player<br>
+
| player  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 8.2<br>
+
! scope="row" | 8.2  
-
| Draw: [http://en.wikipedia.org/wiki/Glossary_of_chess#Insufficient_material insufficient material]:<br>Opponents move<br>
+
| Draw: [http://en.wikipedia.org/wiki/Glossary_of_chess#Insufficient_material insufficient material]:Opponents move  
-
| opponent<br>
+
| opponent  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 9.1<br>
+
! scope="row" | 9.1  
-
| Draw: [http://en.wikipedia.org/wiki/Fifty-move_rule 50-moves rule]:<br>Players move<br>
+
| Draw: [http://en.wikipedia.org/wiki/Fifty-move_rule 50-moves rule]:Players move  
-
| player<br>
+
| player  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 9.2<br>
+
! scope="row" | 9.2  
-
| Draw: [http://en.wikipedia.org/wiki/Fifty-move_rule 50 moves rule]:<br>Opponents move<br>
+
| Draw: [http://en.wikipedia.org/wiki/Fifty-move_rule 50 moves rule]:Opponents move  
-
| opponent<br>
+
| opponent  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 10.1<br>
+
! scope="row" | 10.1  
-
| Draw: [http://en.wikipedia.org/wiki/Threefold_repetition threefold repitition]<br>Players move<br>
+
| Draw: [http://en.wikipedia.org/wiki/Threefold_repetition threefold repitition]Players move  
-
| player<br>
+
| player  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 10.2<br>
+
! scope="row" | 10.2  
-
| Draw: [http://en.wikipedia.org/wiki/Threefold_repetition threefold repitition]<br>Opponents move<br>
+
| Draw: [http://en.wikipedia.org/wiki/Threefold_repetition threefold repitition]Opponents move  
-
| opponent<br>
+
| opponent  
-
| tbd<br>
+
| tbd  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 11.1.1<br>
+
! scope="row" | 11.1.1  
-
| Connection lost (by player) during players turn<br>
+
| Connection lost (by player) during players turn  
-
| player<br>
+
| player  
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
-
2. Disconnect players client<br>
+
2. Disconnect players client
|  
|  
-
*A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"<br>
+
*A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"  
-
*Now Opponent has to decide: "Resume yes" or "Resume no"<br>
+
*Now Opponent has to decide: "Resume yes" or "Resume no"
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 11.1.2<br>
+
! scope="row" | 11.1.2
|  
|  
-
Connection lost (by player) during opponents turn<br>
+
Connection lost (by player) during opponents turn
-
| opponent<br>
+
| opponent
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
-
2. Player: Make a move (1. e4)<br>
+
2. Player: Make a move (1. e4)
-
3. Disconnect players client<br>
+
3. Disconnect players client
|  
|  
*A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"
*A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"
-
*Now Opponent has to decide: "Resume yes" or "Resume no"<br>
+
*Now Opponent has to decide: "Resume yes" or "Resume no"
-
| <br>
+
|  
-
| <br>
+
|  
-
| <br>
+
|  
-
| <br>
+
|  
|-
|-
! scope="row" | 11.2.1  
! scope="row" | 11.2.1  
-
| Connection lost (by opponent) during opponents turn<br>
+
| Connection lost (by opponent) during opponents turn
| opponent  
| opponent  
|  
|  
Line 536: Line 536:
2. Player: Make a move (1. e4)
2. Player: Make a move (1. e4)
-
3. Disconnect opponents client<br>
+
3. Disconnect opponents client
-
| ?<br>
+
| ?  
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|
-
| <br>
+
|  
|-
|-
-
! scope="row" | 11.2.2<br>
+
! scope="row" | 11.2.2
-
| Connection lost (by opponent) during players turn<br>
+
| Connection lost (by opponent) during players turn
-
| player<br>
+
| player
|  
|  
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white
-
2. Disconnect opponent client<br>
+
2. Disconnect opponent client
-
| ?<br>
+
| ?
-
| <br>
+
|  
-
| <br>
+
|  
-
| <br>
+
|  
-
| <br>
+
|  
|}
|}
-
 
-
<br>
 

Revision as of 19:42, 12 September 2011

FICS tests

Game Endings

This table contains every possible way to end a game in FICS. They all are listed from a players perspective. Please note that "player" in this test cases always uses Miniature and "opponent" an other client application ot just plain telnet. Please feel free to comlete things if not completed:

# Game's endReason Activepart Steps to reproduce Expected result Actual result FICS log Alreadytested? Testresult
1.1.1 Abort request during move 1by player (white) player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Player: Request "Abort game"

  • Game ends immidiately
  • no rating modification happens
  • SeekGames Window appears
1.1.2 Abort request during move 1by player (black) player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Opponent: Make a move (1. e4)

3. Player: Request "Abort game"

  • Game ends immidiately
  • no rating modification happens
  • SeekGames Window appears
1.2 Abort request during move 1by opponent opponent  1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Player: Make a move (1. e4)

3. Opponent: Request "Abort game"

  • Game ends immidiately
  • no rating modification happens
  • Dialog with explanation appears: "Game aborted on move 1"
  • SeekGames Window appears
1.3.1

Abort request after turn 1by player:Opponent accepts

player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Player: Make a move (1. e4)

3. Opponent: Make a move (1. ...e5)

4. Player: Request "Abort game"

5. Opponent accepts this request

  • game's end dialog
1.3.2 Abort request after turn 1 by player:Opponent declines opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Player: Make a move (1. e4)

3. Opponent: Make a move (1. ...e5)

4. Player: Request "Abort game"

5. Opponent declines this request

1.4.1

Abort request after turn 1by opponent:

Player accepts

player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Opponent: Make a move (1. e4)

3. Player: Make a move (1. ...e5)

4. Opponent: Request "Abort game"

  • A non modal dialog (not overlaping the board) appears: "Opponent requests abort." + button "accept" + button "decline"
  • On accept: games end dialog
1.4.2

Abort request after turn 1 by opponent:Player declines

player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Opponent: Make a move (1. e4)

3. Player: Make a move (1. ...e5)

4. Opponent: Request "Abort game"

  • A non modal dialog (not overlaping the board) appears: "Opponent requests abort." + button "accept" + button "decline"
  • On decline: Confirmation of this by an information banner which appears for 5 seconds "Abort request declined"
2.1.1 Player proposes draw:Opponent accepts opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Player: Make a move (1. e4)

3. Opponent: Make a move (1. ...e5)

4. Player: Request "Propose Draw"

5. Opponent accepts this request

  • game's end dialog with headline "game drawn!"
2.1.2 Player proposes draw:Opponent declines opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Player: Make a move (1. e4)

3. Opponent: Make a move (1. ...e5)

4. Player: Request "Propose Draw"

5. Opponent declines this request

2.2.1 Opponent proposes draw:Player accepts player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Opponent: Make a move (1. e4)

3. Player: Make a move (1. ...e5)

4. Opponent: Request "Propose Draw"

  • A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"
  • On accept: game's end dialog
2.2.2 Opponent proposes draw:Player declines player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Opponent: Make a move (1. e4)

3. Player: Make a move (1. ...e5)

4. Opponent: Request "Propose draw"

  • A non modal dialog (not overlaping the board) appears: "Opponent offers draw." + button "accept" + button "decline"
  • On decline: Confirmation of this by an information banner which appears for 5 seconds "Abort request declined"
3.1.1

Player proposes adjourn:Opponent accepts

opponent

same as in in 2.1.1 but "Adjourn request"

3.1.2 Player proposes adjourn:Opponent declines opponent

same as in 2.1.2 but "Adjourn request"

3.2.1 Opponent proposes adjourn:Player accepts player

same as in 2.2.1 but "Adjourn request"

3.2.2 Opponent proposes adjourn:Player declines player

same as in 2.2.2 but "Adjourn request"

4.1 Player resigns by request player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Player: Make a move (1. e4)

3. Opponent: Make a move (1. ...e5)

4. Player: Request "Resign game"

4.2 Opponent resigns by request opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client)

2. Opponent: Make a move (1. e4)

3. Player: Make a move (1. ...e5)

4. Opponent: Request "Resign game"

5.1 Player forfelts on time player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.

2. Wait until players time is over

5.2 Opponent forfelts on time opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client): 1 minute + 0 seconds increment.

2. Player: Make a move (1. e4)

3. Wait until opponents time is over

6.1 Checkmate: player wins player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as black

2. Opponent: Make a move (1. f3)

3. Player: Make a move (1. ...e5)

4. Opponent: Make a move (2. g4)

5. Player: Make a move (2. ...Dh4#)

6.2 Checkmate: opponent wins opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white

2. Player: Make a move (1. f3)

3. Opponent: Make a move (1. ...e5)

4. Player: Make a move (2. g4)

5. Opponent: Make a move (2. ...Dh4#)

7.1 Stalemate: players move player tbd
7.2 Stalemate: opponents move opponent tbd
8.1 Draw: insufficient material:Players move player tbd
8.2 Draw: insufficient material:Opponents move opponent tbd
9.1 Draw: 50-moves rule:Players move player tbd
9.2 Draw: 50 moves rule:Opponents move opponent tbd
10.1 Draw: threefold repititionPlayers move player tbd
10.2 Draw: threefold repititionOpponents move opponent tbd
11.1.1 Connection lost (by player) during players turn player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white

2. Disconnect players client

  • A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"
  • Now Opponent has to decide: "Resume yes" or "Resume no"
11.1.2

Connection lost (by player) during opponents turn

opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white

2. Player: Make a move (1. e4)

3. Disconnect players client

  • A dialog appears "Reconnect and resume game?" + button "Yes" + button "No"
  • Now Opponent has to decide: "Resume yes" or "Resume no"
11.2.1 Connection lost (by opponent) during opponents turn opponent

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white

2. Player: Make a move (1. e4)

3. Disconnect opponents client

 ?
11.2.2 Connection lost (by opponent) during players turn player

1. Player/Opponent: Start a game (Player using Miniatuer, opponent using an other client) as white

2. Disconnect opponent client

 ?