Commit Graph

18 Commits

Author SHA1 Message Date
Antonin Boyon
77d0c0946e Merge branch 'master' of https://forge.info.unicaen.fr/git/legot-lalong-page-boyon 2021-03-30 10:16:40 +02:00
Antonin Boyon
cd4a1d1b44 merge 2021-03-30 10:16:31 +02:00
Arthur7770
db65bedbaa Comment the first lines of game.play() and remove the useless scanner 2021-03-30 10:09:31 +02:00
13a48c9d4b Move setShips from Game to View + fix Direction.java + improved Player.setShips to check if there is no boat at the location where we want to place another 2021-03-28 15:09:44 +02:00
19bd363503 Add Direction enum + fix Game.setShips(Player) 2021-03-28 14:35:10 +02:00
Arthur
be296d3946 There is an error in Game.java line 95, I don't understand why the program skip the scanner.nextLine 2021-03-28 13:55:59 +02:00
Arthur
c45d8a93ae Adding some modifications + please if you find ho to fix Terminal.java toString() method, do it 2021-03-27 19:43:36 +01:00
1ffc7ded74 Fix Random.nextInt(int) in Random.java 2021-03-27 15:05:01 +01:00
Arthur
de37c534c0 Adding a few changes 2021-03-27 14:56:01 +01:00
Arthur
33ab1c131a Adding getters to Ship.class, Adding a checker in Game.class and Starting the toString() method of View.class 2021-03-27 13:12:33 +01:00
72f268cff3 Updated giignore delete Battleship.java 2021-03-27 11:38:47 +01:00
8524f83864 Add Main.java, View.java, Window.java, Terminal.java and Game.java 2021-03-27 11:12:20 +01:00
Arthur
609b2b821a Remove USELESS class Battleship 2021-03-23 10:57:35 +01:00
48ba657ef1 Add Ship.java, Pair.java, fix Player.java, add ArrayList of ships in Battleship.java 2021-03-23 10:37:51 +01:00
Arthur
2eb488f14a Adding player 2021-03-23 10:27:30 +01:00
1baedaf6e7 Added Triplet.java and Battleship.java 2021-03-23 10:09:43 +01:00
5e9813b257 Added initial files 2021-03-23 09:46:47 +01:00
Sysadmin
64a1c0d48f Initial commit 2021-03-16 10:45:06 +01:00