Skip to content

AlexBenoit/PythonPlays

Repository files navigation

PythonPlays

Python AI that plays Super Smash Bros. Melee

Setup

  1. Install Python 3.7 (64-bit)
  2. Clone the solution containing all the projects
  3. Create all virtual environments for each project
  4. The project is ready to be executed

Execution

  1. Open Super Smash Bros. Melee
  2. Run the project
  3. While in the starting countdown of the project, click on the game window to give it focus
  4. Let the AI play
  5. Press Q to stop the program

Project Descriptions

CoreComponents

This project contains the modules common to all the projects present in the solution.

PythonPlays

This project is the main project. It contains the code that will play the game. It uses modules from the CoreComponents project.

PlayRecorder

This project is used to record a playing session from a user. For every screen capture made, there is an array containing the inputs that were currently being pressed. The data from the recorded session is used to do an initial supervised training for the PythonPlays project. The supervised training will be done by the SupervisedTrainer project.

SupervisedTrainer

This project will fetch the data recorded by PlayRecorder and use it to do an initial training for the PythonPlays model.

Virtual Environments

  1. Make sure you have Python 3.7 (64-bit) installed and its default packages are updated
  2. Right click Python Environments in your project
  3. Select Add Virtual Environment...
  4. Name the environment the same as the project name and add Env at the end. (Ex: CoreComponentsEnv)
  5. Right click the newly created environment and select Install from requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •