├── .cargo └── config ├── .gitignore ├── Cargo.dev.toml ├── Cargo.py.toml ├── Cargo.toml ├── LICENSE.md ├── MANIFEST.in ├── README.md ├── gym_chess ├── __init__.py ├── envs │ ├── __init__.py │ ├── chess_v0.py │ ├── chess_v1.py │ └── chess_v2.py ├── examples │ ├── v0 │ │ ├── available_moves.py │ │ ├── make_move.py │ │ ├── play_random_vs_bot.py │ │ └── play_vs_self.py │ └── v1 │ │ ├── available_moves.py │ │ ├── make_move.py │ │ ├── play_random_vs_bot.py │ │ └── play_vs_self.py └── test │ ├── __init__.py │ ├── utils.py │ ├── v1 │ ├── __init__.py │ ├── test_basic_moves.py │ ├── test_benchmark.py │ ├── test_capture_moves.py │ ├── test_castle_moves.py │ ├── test_king_moves.py │ ├── test_run_moves.py │ └── test_squares_under_attack.py │ └── v2 │ ├── __init__.py │ ├── test_basic_moves.py │ ├── test_benchmark.py │ ├── test_capture_moves.py │ ├── test_castle_moves.py │ ├── test_king_moves.py │ ├── test_run_moves.py │ └── test_squares_under_attack.py ├── lint ├── pyproject.toml ├── setup.py └── src ├── lib.rs └── main.rs /.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/.cargo/config -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.dev.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/Cargo.dev.toml -------------------------------------------------------------------------------- /Cargo.py.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/Cargo.py.toml -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/LICENSE.md -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/README.md -------------------------------------------------------------------------------- /gym_chess/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/__init__.py -------------------------------------------------------------------------------- /gym_chess/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/envs/__init__.py -------------------------------------------------------------------------------- /gym_chess/envs/chess_v0.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/envs/chess_v0.py -------------------------------------------------------------------------------- /gym_chess/envs/chess_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/envs/chess_v1.py -------------------------------------------------------------------------------- /gym_chess/envs/chess_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/envs/chess_v2.py -------------------------------------------------------------------------------- /gym_chess/examples/v0/available_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v0/available_moves.py -------------------------------------------------------------------------------- /gym_chess/examples/v0/make_move.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v0/make_move.py -------------------------------------------------------------------------------- /gym_chess/examples/v0/play_random_vs_bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v0/play_random_vs_bot.py -------------------------------------------------------------------------------- /gym_chess/examples/v0/play_vs_self.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v0/play_vs_self.py -------------------------------------------------------------------------------- /gym_chess/examples/v1/available_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v1/available_moves.py -------------------------------------------------------------------------------- /gym_chess/examples/v1/make_move.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v1/make_move.py -------------------------------------------------------------------------------- /gym_chess/examples/v1/play_random_vs_bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v1/play_random_vs_bot.py -------------------------------------------------------------------------------- /gym_chess/examples/v1/play_vs_self.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/examples/v1/play_vs_self.py -------------------------------------------------------------------------------- /gym_chess/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gym_chess/test/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/utils.py -------------------------------------------------------------------------------- /gym_chess/test/v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gym_chess/test/v1/test_basic_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v1/test_basic_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v1/test_benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v1/test_benchmark.py -------------------------------------------------------------------------------- /gym_chess/test/v1/test_capture_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v1/test_capture_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v1/test_castle_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v1/test_castle_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v1/test_king_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v1/test_king_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v1/test_run_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v1/test_run_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v1/test_squares_under_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v1/test_squares_under_attack.py -------------------------------------------------------------------------------- /gym_chess/test/v2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gym_chess/test/v2/test_basic_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v2/test_basic_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v2/test_benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v2/test_benchmark.py -------------------------------------------------------------------------------- /gym_chess/test/v2/test_capture_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v2/test_capture_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v2/test_castle_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v2/test_castle_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v2/test_king_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v2/test_king_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v2/test_run_moves.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v2/test_run_moves.py -------------------------------------------------------------------------------- /gym_chess/test/v2/test_squares_under_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/gym_chess/test/v2/test_squares_under_attack.py -------------------------------------------------------------------------------- /lint: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | black -l 100 . 3 | cargo fmt 4 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/setup.py -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/genyrosk/gym-chess/HEAD/src/main.rs --------------------------------------------------------------------------------