Code Monkey home page Code Monkey logo

ssbm-bot's Introduction

SmashBot

A psuedo imitation learning AI to play super smash bros

Disclaimer: I am making the code public, however I am not able to dedicate the time to help anybody troubleshoot anything, or to make the tool more user friendly. Utilize and build upon at your own risk. I'm very sorry but I'm too lazy to make most things work through arguments, so you will need edit variables in the code to change stuff.

Usage

Step 0: Follow the libmelee setup instruction. Set the dolphin path in Args.py

Step 1: Get a melee ISO, name it SSBM.iso and put it in the main folder.

Step 2: Get alot of slippi replays. For my project, I used this dataset, however even this was more limited then I would like. Best case scenario, is alot of replay by a single player against a bunch of different opponents. Your mileage may vary.

Step 3: Change the replay_folder variable to the path to your dataset, and run organize_replays.py

Step 4: Run generate_data.py . Depending on the size of your dataset, this may take a very long time.

Step 5: Set player_character, opponent_character, and stage to your desired targets and run train.py. You will need to tune the optimizer, learning rate, network structure with different targets.

Step 6: Set the same targets in duel.py and run it. You can very the models "attack weighting" by changing the denominator in Datahandler.py line 231

ssbm-bot's People

Contributors

effdotsh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.