I've always wondered what state would win in a battle royale. 50 If/else scripts later, and you can find out for yourself! Get some friends and try to capture the US for yourself! INSTRUCTIONS: When you begin, select the number of players (2, 3, or 4.) Then, pick a starting state for each player. This is now your territory. On your turn, you can pick a state that shares a border with your territory. All of your states that are connected to it add their points to the total. This means that the more states in contact, the higher chance that you take the state. The game ends after 20 rounds, and the player that has taken the most states wins the game. The two states not on the main continent, Hawii and Alaska, can only be attacked by the closest state geographically, California and Washington. The numbers shown on each state are the votes that state has in the electoral college. And that's also the amount of points each state gets. Bigger states like California and Texas are harder to take than, say, Alabama. You might also notice that Nevada, rather than having 6 points, has 20. That is because I am biased, and my in-game reason is that we have tons of nuclear stuff, so we have an advantage. #All #2playerGames #3PlayerGames #4PlayerGames #Games
If you want more games like this, check out my other games if you want. (Heck yeah, I'm the best at advertising, right guys?) As an added challenge (Regret), I do not have 50 individual sprites for the states. It's one sprite, with 50 if/else statements for color. DO NOT open the calculator. It's not complicated code, but because it computes each of the 50 states, it has way too much code. It took me 3 days, when I was supposed to be studying for finals (don't tell), so I'd highly recommend staying away. If your attacking point total is 0, either you selected a state that you don't share a boarder with, or I messed up. If this happens, tell me which states, and I'll fix it as soon as I can. Thanks to Wikipedia for the picture of the US, I did not have to draw each state individually (Thank Goodness).