Skip to content

CS181 Final Project: Playing Aircraft Warfare Game with Reinforcement Learning

Notifications You must be signed in to change notification settings

billhu0/AI-Aircraft-Warfare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS181 Project --- Playing Aircraft Warfare Game with Reinforcement Learning

Requirements

  • numpy
  • pandas
  • pygame
  • pytorch
  • python-opencv

You can install these packages by the following command.

python3 -m pip install -r ./requirements.txt

Usage

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

External resources we used:

About

CS181 Final Project: Playing Aircraft Warfare Game with Reinforcement Learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •