$i is 1

Array ( [0] => swap [1] => f3-e3 )

ILLEGAL: f5-g6;swap f3-e3 on turn 26:

The swap command does not have enough arguments.

Go back with your browser's BACK button, reload the page, and try again.

For diagnostic purposes, here is the full movelist:

1. a2-a4;swap a4 b4 
1... p e8-e6; d5-d4 
2. P c2-c4 
2... n g9-f7; g6-g3 
3. g1-f3;swap c4 d4 
3... b f9-c6; g4-f4 
4. b1-c3;swap b4 c4 
4... b c6-f3;swap f3 f4 
|| 5. e2-e3;b4-b7 
|| // Damn :(!
|| 5... k e9-g9; r h9-f9; swap g5 f4 
|| // Wow, I got a damn from you.  That is the best complement
|| // I've ever gotten.  :)   I invented a new game.  It is a
|| // work-in-progress.  I invited you to play it.  (If you want
|| // to).  It is called flank chess.  The goal is to outflank your
|| // opponent.  I have some doubts about Achilles.  Should
|| // Achilles have the ability to capture Achilles?  Should some
|| // other piece besides a pawn the the ability to capture
|| // Achilles?  We can talk in the game.  (if you want to play
|| // it).
|| // :)! It sounds a bit
5. e2-e3;b4-b7 
5... b f4-e3; e5-e4 
6. d2-e3;f3-f4 
6... k e9-g9; r h9-f9; b5-c5 
7. b2-b4;e4-g4 
7... n b9-c7; c5-d5 
8. c1-a3;swap d5 d4 
8... p e6-e5;f4-e4 
9. b4-b5;a4-a5 
9... p a8-a6;swap a6 b6 
10. d5-d6;d4-f4 
10... n c7-e8;g4-d4 
11. c3-d5;g3-g4 
11... p d8-d7; d4-d3 
12. f1-e2;swap e3 d3 
12... n e8-f6; g4-d4 
13. d5-b6;b7-c7 
13... p b8-b7; a6-a4 
14. b6-c8;swap c7 c8 
14... q d9-d8;a4-b4 
15. d1-a4;c8-b8; 
15... n f7-d6;b8-a8 
16. b5-b6;b4-b3 
16... n d6-c8;a5-b5 
17. e1-g1;h1-f1;d4-g4 
17... n c8-b6;CI_g a8-a7 
18. a4-a5;a7-a6 
18... q d8-c7;swap a6 b6 
19. f2-b2;b3-c3; 
19... c3-b3;b2-f2 
20. f1-b1;b3-c3; 
20... b c9-e7;swap b7 b6 
21. a3-e7;swap b5 a5 
21... p f8-e7;swap b7 c7 
22. b5-e5;a5-b5 
22... r a9-e9;g4-d4 
23. e2-f3;g5-g6 
23... p d7-d6;f4-f5 
24. e5-f6;swap f6 f5 
24... q b7-d5;swap d5 d4 
25. a1-a6;e4-f4 
25... p e7-e6;g6-g5 
26. f5-g6;swap f3-e3 
26... swap f3 e3;q d4-d3;CI_g f6-f5 
27. a6-b6;b5-a5 
27... p h8-h7; c7-c6 
28. g6-g7;f5-h5 
28... q d3-g6;g5-f5 
29. g7-g6;swap c6 b6 
29... p h7-g6; swap d6 d5 
30. c4-d5;swap d5 d6 
30... r e9-b9; a5-b5 
31. d6-d7;b5-b7 
31... p e6-e5;b7-c7 
|| 32. e3-c5;swap c7 c6 
|| 32... r b9-d9;swap e5 d5 
|| // Your last move was illegal as you were checked, you still
|| // are... Sorry for not mentioning it to you :(!
32. e3-c5;swap c7 c6 
32... r f9-d9; c6-d6 
33. b1-d1;d6-e6 
33... k g9-f9; f3-e3 
34. d1-d4;swap d5 d4 
34... r b9-a9;e6-f6 
|| 35. g2-g4;b6-b7 
|| 35... CI_g f4-f7;p e5-e4 
|| // You're last move was not legal as you always move the
|| // piece first and then optionally the stone :)!
35. g2-g4;b6-b7 
35... p e5-e4; CI_g f4-f7 
36. c7-c8;f7-g7 
36... p g6-g5;f5-f7 
37. c8-f8;f7-h7 
37... k f9-g9;b7-b8 
38. f8-d8;b8-b9 
38... resign // - wdtr2 has resigned. -

In case there is a bug in the code, the settings file can be edited at /play/pbm/play.php?game=EIGHT-STONE+CHESS&settings=default&submit=Edit