- numpy
- pandas
- pygame
- pytorch
- python-opencv
You can install these packages by the following command.
python3 -m pip install -r ./requirements.txt
In our project, we implement an AI-agent for playing the Aircraft Warfare with Appriximate Q-learning method and Deep Q-learning method. The difficulty of the game can be adjusted by adjusting the speed. They are placed in ./Qlearning_version/
and ./DQN_Version/
respectively.
You can run the Q-learning version by the following command
cd Qlearning_version
python3 main.py
Or run the DQN version by the following command
cd DQN_version
python3 DQN_torch.py
External resources we used: