Please read challenge.pdf
file.
Shortcuts commands
- Knights
- R: Red
- B: Blue
- G: Green
- Y: Yellow
- Directions
- E: East
- W: West
- S: South
- N: North
- Create a file_name_moves.txt file.
- The content of the file consists of commands following the format below:
- Format: KNIGHT:DIRECTION
- Example:
- R:E which means moving the red knight to the East direction.
- The content of the file consists of commands following the format below:
- Then run this command in the terminal.
- python main.py file_name_moves.txt
- sample .txt files are moves.txt and moves2.txt
- python main.py file_name_moves.txt
- the unit tests are inside the test folder. To use, run pytest inside the tests directory path.