ScratchData LogoScratchData
Back to vode123's profile

EXPERIMENTAL: Red vs Blue A.I Player

VOvode123•Created April 12, 2020
EXPERIMENTAL: Red vs Blue A.I Player
0
0
4 views
View on Scratch

Instructions

I was feeling a little bored, so I decided to use one of the many neglected ides that my head suggested to me: a Red VS Blue A.I player. This was different than my previous A.I engine, as the engine didn't just have to make decisions; it had to make wise decisions based on the location of the bullets. I did that by making two sensors - one for above and one for below - and making them report to the engine on whether there was an edge, a bullet, or a bomb nearby. Then, the engine would tell the "player" to take the appropriate action. This isn't as hard as it sounds, but the player still makes mistakes. It would be harder for it to make mistakes if I made a unique movement system for the engine. If you look inside the code, however, you can see that the player retains most of the original source code. I refer to this as "putting the robot in the human's seat" and prefer this method to a completely new system: it increases the mistake rate, and therefore makes it more humanlike. Enjoy! Music(by The Fat Rat): *"Epic". *"Time Lapse" . *"Jackpot" [There's a small extra with this music piece! ;) ] *"Prelude". *"Xenogenesis". *"Windfall". *"Splinter".

Description

Coronavirus can't defeat us! :) #COVID-19_can't_defeat_us #Coronavirus_can't_defeat_us I have to thank @Yashi89 for making The Fat Rat songs available to all on Scratch. Otherwise, where would the songs come from? Bomb sound from: www.freesoundeffects.com/free-sounds/bomb-10076/ -----------------------------NOTICES---------------------------- *The game will break if you play it in turbo mode!!! But you can play it if you want to have a bit of a laugh. :) Just don't report it as a glitch. *As of 15/11/19, there is a pause button! However, you can only pause once! Sorry! *As of 20/02/20, you can pause more than once!!! *As of 22/02/20, there is a 'vunerability' feature. Basically, if you hit an enemy two times within a certain period, then you lose more health! ------------------------------------------------------------------------- Some people have been adding this to fan clubs? PLEASE let me know BEFORE you do.

Project Details

Project ID384749445
CreatedApril 12, 2020
Last ModifiedDecember 8, 2020
SharedApril 12, 2020
Visibilityvisible
CommentsAllowed