via Raspberry Pi Pod
The program creates a random layout of boats, ammo and water. Use the joystick to select a location and then press Enter to fire a Torpedo.
If you miss you will here a splash of water, if you hit then you will hear the explosion. Else you may find an ammo dump. Each square is then coloured, blue for water, red for a ship and yellow for ammo. You will be updated n the number of ships left to destroy.
When you have used all your Torpedoes up or you have destroyed all the ships, then game ends and you are updated with your score. You can select to play again and a new random layout is created, or leave the game.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — How Authority and Decision-Making Differ Across Cultures
Wearables — Perform operation
Electronics — Soldering Pointer!
Biohacking — EGG – Gut Monitoring Using Electrical Signals
No comments yet.
Sorry, the comment form is closed at this time.