HOW TO PLAY: There's a big button in the middle. Press that, and the simulation starts! You can control the velocity of the Samurai and Vikings using the sliders that appear on screen as variables (They might not show up, if they don't, I don't know why). Once the Vikings and the Samurai reach each other, they fight until all seven Samurai warriors are gone. The Vikings continue fighting nothing and probably die at some point, but eventually, I'll add an end screen to keep things interesting, and so you can restart. If you tweak the code, the Vikings may lose. I haven't figured out what you'd need to do, but I'd assume you'd tweak the behaviour and the HP values. Go ahead and remix if you'd like. I'd love to see what you all make!
All code and spritework was done by me THIS IS A SCHOOL PROJECT SO IT'S PRETTY BAD Some random updates: - Samurai 4 will die on its own after about 50 seconds because it will never reach the Vikings (glitched code loop). - The Vikings continue fighting even after the samurai in front of them have already died. Don't ask me to fix this. - The arrows will take HP from every Viking. Let's say they took sympathy damage or something. - I had to fix Samurai 1 because it never died (its HP went into the negative numbers, and I made the code indicate HP had to be = 0 instead of HP being < 0 or HP = 0.) - I made the sprites!!! Yay!!!!! - The Vikings don't attack the air like the samurai. I'm not changing it. - The end screen doesn't show up. I don't feel like dealing with it right now.