diff --git a/README.md b/README.md index 50767c4..9978eec 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,40 @@ # GitHub README Chess Tournament This is an open chess tournament where ANYONE can play. That's the fun part. -It's your turn to play! Move a black piece. +It's your turn to play! Move a white piece. -| | H | G | F | E | D | C | B | A | | +| | A | B | C | D | E | F | G | H | | |---|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| -| **1** | | | | | | | | | **1** | -| **2** | | | | | | | | | **2** | -| **3** | | | | | | | | | **3** | -| **4** | | | | | | | | | **4** | +| **8** | | | | | | | | | **8** | +| **7** | | | | | | | | | **7** | +| **6** | | | | | | | | | **6** | | **5** | | | | | | | | | **5** | -| **6** | | | | | | | | | **6** | -| **7** | | | | | | | | | **7** | -| **8** | | | | | | | | | **8** | -| | **H** | **G** | **F** | **E** | **D** | **C** | **B** | **A** | | +| **4** | | | | | | | | | **4** | +| **3** | | | | | | | | | **3** | +| **2** | | | | | | | | | **2** | +| **1** | | | | | | | | | **1** | +| | **A** | **B** | **C** | **D** | **E** | **F** | **G** | **H** | | **It's your turn to move! Choose one from the following table** | FROM | TO (Just click a link!) | | :----: | :---------------------- | -| **A7** | [A5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+A7+to+A5), [A6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+A7+to+A6) | -| **B7** | [B5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B7+to+B5), [B6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B7+to+B6) | -| **B8** | [A6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B8+to+A6), [C6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B8+to+C6), [D7](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B8+to+D7) | -| **C7** | [C5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+C7+to+C5), [C6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+C7+to+C6) | -| **C8** | [D7](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+C8+to+D7) | -| **D6** | [D5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+D6+to+D5) | -| **E6** | [A2](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+A2), [B3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+B3), [C4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+C4), [D5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+D5), [D7](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+D7), [E2](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+E2), [E3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+E3), [E4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+E4), [E5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+E5), [F5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+F5), [F6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+F6), [G4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+G4), [G6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+G6), [H3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+H3), [H6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E6+to+H6) | -| **E8** | [D7](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E8+to+D7), [D8](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E8+to+D8) | -| **F7** | [F5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F7+to+F5), [F6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F7+to+F6) | -| **G7** | [G5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G7+to+G5), [G6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G7+to+G6) | -| **G8** | [F6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G8+to+F6), [H6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G8+to+H6) | -| **H7** | [H5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+H7+to+H5), [H6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+H7+to+H6) | +| **A2** | [A1](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+A2+to+A1) | +| **A3** | [A4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+A3+to+A4) | +| **B1** | [C3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B1+to+C3), [D2](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B1+to+D2) | +| **B2** | [B3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B2+to+B3), [B4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+B2+to+B4) | +| **C2** | [C3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+C2+to+C3), [C4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+C2+to+C4) | +| **D1** | [C1](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+D1+to+C1), [D2](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+D1+to+D2), [D3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+D1+to+D3) | +| **D4** | [D5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+D4+to+D5) | +| **E1** | [D2](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E1+to+D2) | +| **E2** | [E3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E2+to+E3), [E4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+E2+to+E4) | +| **F2** | [F3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F2+to+F3) | +| **F4** | [C1](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+C1), [D2](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+D2), [D6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+D6), [E3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+E3), [E5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+E5), [G3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+G3), [G5](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+G5), [H6](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+F4+to+H6) | +| **G1** | [F3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G1+to+F3), [H3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G1+to+H3) | +| **G2** | [G3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G2+to+G3), [G4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+G2+to+G4) | +| **H2** | [H3](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+H2+to+H3), [H4](https://github.com/the1Riddle/Play-Chess/issues/new?body=Please+do+not+change+the+title.+Just+click+%22Submit+new+issue%22.+You+don%27t+need+to+do+anything+else+%3AD&title=Chess%3A+Move+H2+to+H4) | Having fun? Ask a friend to do the next move! @@ -50,11 +52,11 @@ Have you spotted a bug? Something missing? Feel free to open an [issue](https:// | Move | Author | | :--: | :----- | +| `H7` to `H6` | [ @the1Riddle](https://github.com/the1Riddle) | | `C1` to `F4` | [ @KamoheloKoali](https://github.com/KamoheloKoali) | | `D7` to `E6` | [ @Jakobud](https://github.com/Jakobud) | | `D2` to `D4` | [ @ken-morel](https://github.com/ken-morel) | | `D8` to `D7` | [ @afgsanchez](https://github.com/afgsanchez) | -| `A1` to `A2` | [ @ken-morel](https://github.com/ken-morel) | @@ -65,7 +67,7 @@ Have you spotted a bug? Something missing? Feel free to open an [issue](https:// | Total moves | User | | :---------: | :----- | -| 3 | [@the1Riddle](https://github.com/the1Riddle) | +| 4 | [@the1Riddle](https://github.com/the1Riddle) | | 2 | [@ken-morel](https://github.com/ken-morel) | | 1 | [@Maxrutto](https://github.com/Maxrutto) | | 1 | [@the-1Riddle](https://github.com/the-1Riddle) | diff --git a/data/last_moves.txt b/data/last_moves.txt index 963e31e..fa044c9 100644 --- a/data/last_moves.txt +++ b/data/last_moves.txt @@ -1,3 +1,4 @@ +h7h6: @the1Riddle c1f4: @KamoheloKoali d7e6: @Jakobud d2d4: @ken-morel diff --git a/data/top_moves.txt b/data/top_moves.txt index 9092f6e..9db43a9 100644 --- a/data/top_moves.txt +++ b/data/top_moves.txt @@ -1 +1 @@ -{'@the1Riddle': 3, '@Maxrutto': 1, '@the-1Riddle': 1, '@MphoCM': 1, '@ken-morel': 2, '@afgsanchez': 1, '@Jakobud': 1, '@KamoheloKoali': 1} \ No newline at end of file +{'@the1Riddle': 4, '@Maxrutto': 1, '@the-1Riddle': 1, '@MphoCM': 1, '@ken-morel': 2, '@afgsanchez': 1, '@Jakobud': 1, '@KamoheloKoali': 1} \ No newline at end of file diff --git a/games/current.pgn b/games/current.pgn index 64652a6..33e221d 100644 --- a/games/current.pgn +++ b/games/current.pgn @@ -6,5 +6,5 @@ [Black "?"] [Result "*"] -1. a3 { @MphoCM } 1... d6 { @the1Riddle } 2. Ra2 { @ken-morel } 2... Qd7 { @afgsanchez } 3. d4 { @ken-morel } 3... Qe6 { @Jakobud } 4. Bf4 { @KamoheloKoali } * +1. a3 { @MphoCM } 1... d6 { @the1Riddle } 2. Ra2 { @ken-morel } 2... Qd7 { @afgsanchez } 3. d4 { @ken-morel } 3... Qe6 { @Jakobud } 4. Bf4 { @KamoheloKoali } 4... h6 { @the1Riddle } * diff --git a/src/__pycache__/markdown.cpython-310.pyc b/src/__pycache__/markdown.cpython-310.pyc index 6d562d6..2900447 100644 Binary files a/src/__pycache__/markdown.cpython-310.pyc and b/src/__pycache__/markdown.cpython-310.pyc differ diff --git a/src/__pycache__/mockGithub.cpython-310.pyc b/src/__pycache__/mockGithub.cpython-310.pyc index effb407..2248291 100644 Binary files a/src/__pycache__/mockGithub.cpython-310.pyc and b/src/__pycache__/mockGithub.cpython-310.pyc differ diff --git a/src/__pycache__/selftest.cpython-310.pyc b/src/__pycache__/selftest.cpython-310.pyc index 6c042c9..c7072f2 100644 Binary files a/src/__pycache__/selftest.cpython-310.pyc and b/src/__pycache__/selftest.cpython-310.pyc differ