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
You are here: Home / Topics / ASSEMBLY

ASSEMBLY

|

Microcontroller › AVR › ASSEMBLY

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 5 months 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

  • 2nd pcb design program? August 10, 2022
  • My NE555 chips gone bad August 10, 2022
  • Nokia 5110 HW in Oshonsoft August 10, 2022
  • alternate of 80386/486 microprocessor August 10, 2022
  • Drill speed controller fault August 10, 2022

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2022 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