Skip to content

ShenLong is an advanced bot designed to play fighting games using cutting-edge computer vision and deep learning techniques. By implementing LeNet, a deep convolutional neural network, Shenlong can interpret game visuals and make strategic decisions in real-time.

Notifications You must be signed in to change notification settings

prathamk1483/ShenLong

Repository files navigation

ShenLong

image

Table of Contents

About

I've named this project as Shenlong as he is the final most boss of the popular fighting game "Bloody Roar 2"(Also provided in this repositoryby the name Bloody Roar 2 game.exe).

Coming to the main point ,Shenlong(This project) is a python program/bot which leverages the Computer-Vision and Deep Learning technique to play the mentioned game autonomously.It can perfectly immitate the gameplay at a level similar to a 12 yr old kid who knows only 2 buttons of the keyboard and knows only 3 character moves.

Things Shenlong cannot do -
1)Play better than a 12yr old knowing 3 keyboard buttons
2)Play better than a 12 yr old knowing 4 character moves.
3)Play better than a 13yr old (Doesn't matter how many buttons or moves he/she knows).

Getting Started

Before getting started make sure u have python installed on you device

  1. Clone this repository / Download the ZIP File:

    git clone https://github.com/prathamk1483/ShenLong.git
  2. Open "Bloody Roar 2 game.exe" already present in the repo

  3. Make sure that this game is running in the top-left corner of the screen exactly as shown image This is because I've hardcoded the programe to capture screen 600x480 (width x height) from the top left corner with co-ordinates(0,0).

  4. Run main.py image


    It will take some time to import all the required libraries and packages and will start
    Till then make sure the game window is visible to you, if not - bring the game window to the front (the program can run in the background as well)


    image


    Once the progam is finished importing files and libraries , a new window with title BONES will pop-up, make sure to move it aside if it pop above the game window.


    image


    image

  5. Enjoy The Game Play

References

1.Open CV Documentation

2.The tutorials from Sentdex from the Python Plays helped greatly - Click Here

Procedure Followed (Coming Soon)

About

ShenLong is an advanced bot designed to play fighting games using cutting-edge computer vision and deep learning techniques. By implementing LeNet, a deep convolutional neural network, Shenlong can interpret game visuals and make strategic decisions in real-time.

Topics

Resources

Stars

Watchers

Forks

Languages