Skip to content

yingwerica/Battleship-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship-Game

Actor:
Battleships:
• Properties: hull is the same as hitpoints. If hull reaches 0 or less, the ship is destroyed
• firepower is the amount of damage done to the hull of the target with a successful hit
• accuracy is the chance between 0 and 1 that the ship will hit its target

USS StrongArm battleship:
Properties:
• hull - 20
• firepower - 5
• accuracy - .7

The Alien ships:
properties: need math.floor(math.random()) method
• hull - between 3 and 6
• firepower - between 2 and 4
• accuracy - between .6 and .8

images of finished project: 2022-11-14 Spaceship battle game

spaceship battle game on

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published