2-D Chess for 2 players
Overview
This is a simple 2D Chess game for 2 players using pygame library.
Requirements
To be able to run this game, you must have these requirements:
- Python (should be 3.x version) installed on your computer.
- Add Python Path to your environment variables.. If you'd chosen "Add Python to PATH" when you installed Python, you can skip this requirement.
Installing pygame
To install pygame on your computer, open your Command Prompt (or Terminal on Mac) and type this command: pip install pygame
How to run the game
If you have your own text editor or IDE, you can just run the main.py file in your text editor or IDE and enjoy the game
Run by "clicking the mouse"
- If you're using Windows:
- Go to the Chess folder that you've downloaded and right click on the main.py file.
- Choose the option called "Edit with IDLE" and it should bring you to the Python editor,
- Press F5 or click 'Run' to start the game.
- If you're on a Mac, I'm not so sure how you can run the game (because I'm using Windows) but you can try this.
Run by "typing the keyboard"
- Copy the path to the Chess folder
- Open your Command Prompt on Windows (or Terminal on Mac).
- Type
cd 'the-path-that-you-copied'
(Remember to open and close the quotes). Example:cd 'D:\Games\Chess'
- Run
python main.py
or in some cases, if it doesn't work, trypython3 main.py
About game play
All you need to do is just moving pieces and apparently practicing your chess skill by playing with yourself