Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 533 Bytes

README.md

File metadata and controls

44 lines (26 loc) · 533 Bytes

BattleShip

First assignment

Getting Started

To compile, just use the makefile:

for matrix use:

make matrix

for quad tree use:

make qt

To run:

./battleShip

You can also run using args like:

./battleShip <ARG_1> <ARG_2>
  • ARG_1 is the number of rows
  • ARG_2 is the number of columns.

NOTE: As specified in the assignment, the minimum row/column size is 20 and the maximum is 40.

Authors

Guilherme Paiva Guia - 201603049

Jorge Gabriel da Silva Sousa - 201603421