diff --git a/README.md b/README.md index 69f357d..8427f3a 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,38 @@ # 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 white piece. +It's your turn to play! Move a black piece. -| | A | B | C | D | E | F | G | H | | +| | H | G | F | E | D | C | B | A | | |---|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| -| **8** | | | | | | | | | **8** | -| **7** | | | | | | | | | **7** | -| **6** | | | | | | | | | **6** | +| **1** | | | | | | | | | **1** | +| **2** | | | | | | | | | **2** | +| **3** | | | | | | | | | **3** | +| **4** | | | | | | | | | **4** | | **5** | | | | | | | | | **5** | -| **4** | | | | | | | | | **4** | -| **3** | | | | | | | | | **3** | -| **2** | | | | | | | | | **2** | -| **1** | | | | | | | | | **1** | -| | **A** | **B** | **C** | **D** | **E** | **F** | **G** | **H** | | +| **6** | | | | | | | | | **6** | +| **7** | | | | | | | | | **7** | +| **8** | | | | | | | | | **8** | +| | **H** | **G** | **F** | **E** | **D** | **C** | **B** | **A** | | **It's your turn to move! Choose one from the following table** | FROM | TO (Just click a link!) | | :----: | :---------------------- | -| **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), [B2](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+B2) | -| **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) | -| **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+B3+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) | +| **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** | [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), [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), [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), [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) | +| **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) | +| **F6** | [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+F6+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+F6+to+D7), [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+F6+to+E4), [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+F6+to+G4), [G8](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+F6+to+G8), [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+F6+to+H5), [H7](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+F6+to+H7) | +| **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) | +| **H6** | [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+H6+to+H5) | +| **H8** | [G8](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+H8+to+G8), [H7](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+H8+to+H7) | Having fun? Ask a friend to do the next move! @@ -52,11 +50,11 @@ Have you spotted a bug? Something missing? Feel free to open an [issue](https:// | Move | Author | | :--: | :----- | +| `E2` to `E3` | [ @KamoheloKoali](https://github.com/KamoheloKoali) | | `G8` to `F6` | [ @the1Riddle](https://github.com/the1Riddle) | | `B2` to `B3` | [ @KamoheloKoali](https://github.com/KamoheloKoali) | | `H7` to `H6` | [ @the1Riddle](https://github.com/the1Riddle) | | `C1` to `F4` | [ @KamoheloKoali](https://github.com/KamoheloKoali) | -| `D7` to `E6` | [ @Jakobud](https://github.com/Jakobud) | @@ -68,8 +66,8 @@ Have you spotted a bug? Something missing? Feel free to open an [issue](https:// | Total moves | User | | :---------: | :----- | | 5 | [@the1Riddle](https://github.com/the1Riddle) | +| 3 | [@KamoheloKoali](https://github.com/KamoheloKoali) | | 2 | [@ken-morel](https://github.com/ken-morel) | -| 2 | [@KamoheloKoali](https://github.com/KamoheloKoali) | | 1 | [@Maxrutto](https://github.com/Maxrutto) | | 1 | [@the-1Riddle](https://github.com/the-1Riddle) | | 1 | [@MphoCM](https://github.com/MphoCM) | diff --git a/data/last_moves.txt b/data/last_moves.txt index de30ccf..a92b754 100644 --- a/data/last_moves.txt +++ b/data/last_moves.txt @@ -1,3 +1,4 @@ +e2e3: @KamoheloKoali g8f6: @the1Riddle b2b3: @KamoheloKoali h7h6: @the1Riddle diff --git a/data/top_moves.txt b/data/top_moves.txt index 717e175..dac604c 100644 --- a/data/top_moves.txt +++ b/data/top_moves.txt @@ -1 +1 @@ -{'@the1Riddle': 5, '@Maxrutto': 1, '@the-1Riddle': 1, '@MphoCM': 1, '@ken-morel': 2, '@afgsanchez': 1, '@Jakobud': 1, '@KamoheloKoali': 2} \ No newline at end of file +{'@the1Riddle': 5, '@Maxrutto': 1, '@the-1Riddle': 1, '@MphoCM': 1, '@ken-morel': 2, '@afgsanchez': 1, '@Jakobud': 1, '@KamoheloKoali': 3} \ No newline at end of file diff --git a/games/current.pgn b/games/current.pgn index ca8461a..28a9cb0 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 } 4... h6 { @the1Riddle } 5. b3 { @KamoheloKoali } 5... Nf6 { @the1Riddle } * +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 } 5. b3 { @KamoheloKoali } 5... Nf6 { @the1Riddle } 6. e3 { @KamoheloKoali } * diff --git a/src/__pycache__/markdown.cpython-310.pyc b/src/__pycache__/markdown.cpython-310.pyc index 530830a..d7f27b0 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 0073192..d014dfe 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 7b8b20b..9ba57b1 100644 Binary files a/src/__pycache__/selftest.cpython-310.pyc and b/src/__pycache__/selftest.cpython-310.pyc differ