Coder Social home page Coder Social logo

lazocoder / flash-flash-revolution-ai Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.61 MB

Artificial Intelligence that plays Flash Flash Revolution.

License: GNU General Public License v3.0

C# 100.00%
game flash-flash-revolution ai artificial-intelligence bot

flash-flash-revolution-ai's Introduction

Flash-Flash-Revolution-AI

Artificial Intelligence that plays Flash Flash Revolution. This AI is undefeatable but not omnipotent. It will never lose a game, no matter the difficulty of the level. However, it does not achieve perfect scores on harder levels.

Details

The levels in the game range from 0 to 120. The following is a sample of the AI playing "Chaotic Sound", a level 39 song:

alt-tag

The results at the end of the game show that the AI did not miss a single incoming arrow.

alt-tag

The most difficult level in the campaign is titled "The Disappearance of Hatsune Miku", at level 103. Although the AI did make some mistakes it was able to get through the level with 87% accuracy. Despite not achieving a 100% accuracy I still find the results astounding as I personally cannot survive this level for even 2 seconds.

alt-tag

Usage

It is a requirement to have a stand-alone Adobe Flash Player. It has only been test on version 16 and it can be found in the Flash Player folder. The link to the game is (this is for linking the stand-alone player to the game):

http://www.flashflashrevolution.com/~velocity/R%5E3.swf

The AI needs to be able to detect the window before starting and it also needs to be run at the beginning of the game. Therefore:

  1. Open the stand-alone Flash Player.
  2. Open the URL specified above.
  3. Pick a song and start the game.
  4. Run the AI.
  5. Press enter in the AI console window to start it.
  6. When the game is complete, close the AI window.

Each time a song is played afterwards, begin from step 4.

Notes

The External folder contains two essential .dll files that must be referenced for the code to work. These two files are WindowsAPI.dll and and ImageProcessing.dll and the code for these can be seen in my WinAPI-Wrapper and Image-Processing-Library repositories respectively.

flash-flash-revolution-ai's People

Stargazers

 avatar

Watchers

 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.