I was playing a lot of Mortal Kombat and I thought there wasn't a great fighting game for Alexa so I decided to make one.

What it does

Powers fighter is a turn-based fighting game you can pick your character and your opponent, the more you play the character they level up and become stronger.

How I built it

I started by talking it out and creating a flow chart. I created the launch, name, and character handlers at first which took me a bit to figure out the APL for the character handlers. Then the fighting handler and APL took even longer to figure out how the fighting would work with turn-based. I added APL-A just recently to the launch, character selection, and fighting handlers. With that, I was able to mix in audio in the background which is outstanding.

Challenges I ran into

When I was making the APL for the character selection it took me a bit to figure out that I needed two handlers just for the APL so you can choose your character and your opponent. One handle for voice-only character selection and one random character selection handler. Another blocker for a while was my fighter handler where I needed to handle each turn of the fight had to keep a lot of information in the session and a lot of if statements. But it works really great and after I added the APL-A I had to move most of those if statements into the APL-A which cleaned up the handler a lot.

Accomplishments that I'm proud of

APL-A just makes the game really more like a real game with background music and hit sounds.

What I learned

The whole thing was a learning experience but the one thing that stands out was handling session and persisted values.

What's next for Powers fighter

I would like to bring in your character's level on the character selection screen. Also more characters with an expansion pack and new skins for the characters.

Share this project: