EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / ASSEMBLY

ASSEMBLY

|

Microcontroller › AVR › ASSEMBLY

  • This topic has 1 reply, 2 voices, and was last updated 10 years ago by Ashutosh Bhatt.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 24, 2016 at 1:06 pm #4320
    Derek Mafohla
    Participant

    Write a Torpedo Game program. Ships are represented as illumined LEDs on the switch light boxes, and can travel left to right or right to left. The ships can be either – Destroyer 1 LED, Battleship 2 LEDs, Aircraft Carrier 3 LEDs.

    The ships can appear on the LED display, in random order, in random direction, and at random times.

    The user launches torpedoes from any one of the eight push buttons, only one torpedo can be launched per ship. A Destroyer is worth 12 Points, a Battleship 8 Points, an Aircraft Carrier 4 Point. The score is displayed on the Seven Segment display in Hexadecimal. The torpedoes take a finite amount of time from launch to impact with the ship

    Every time the user scores a hit, the buzzer sounds, and the speed of the ships increases. The games restarts when the user misses three times.

    February 25, 2016 at 7:13 pm #13735
    Ashutosh Bhatt
    Participant

    what is this all for???????????????

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • My Advanced Realistic Humanoid Robots Project March 12, 2026
  • Very Curious Issue With DS3231 RTC Clock March 12, 2026
  • Motor Getting Hot March 11, 2026
  • LM741 alternatives? March 11, 2026
  • H bridge current direction logic March 11, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise