Question
Stratego: The object of the game is to capture the flag or capture/defeat all your opponent's pieces. Rank Piece No. per player Special properties B Bomb 6 Defeats any piece except Miner 1 Marshal 1 Can be defeated by the Spy General 1 2. 3 Colonel IN 4 Major 3 5 Captain 4. 6 Lieutenant 4 7 Sergeant 4 Miner 5 Can defuse bombs 8 9 Scout 8 S Spy 1 Can defeat the General or Marshal F Flag 1 Its capture ends the game Please create a Python program simulating a game of Stratego Program must include Object/Class that creates the game pieces • Game will randomly generate 2 pieces (Player-1 vs. Player-2), winner of play determined by chart above (think the card game "War") • Although pieces are randomly generated, game should respect the odds/ratio of getting a particular piece • Game ends when one player captures the flag of their opponent
Asked By LightningStrike50 at
Answered By Expert
Bill
Expert · 5.4k answers · 5k people helped
Answer
If any queries please let me know in the comments
please give me a like it means a lot
I hope you understand thank you..!
🧑🏫 More Questions
👉 Interested in exploring further?
Chrome Extension
1. Search answers from our 90+ million questions database.
2. Get instantly AI Solutions powered by most advanced models like GPT-4, Bard, Math GPT, etc.
3. Enjoy one-stop access to millions of textbook solutions.
4. Chat with 50+ AI study mates to get personalized course studies.
5. Ask your questions simply with texts or screenshots everywhere.