Datasets:
ArXiv:
License:
Download data/train/CDZR0/BattleShip/src/battleship/Logic/Player.java from RepoFusion/Stack-Repo: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/train/CDZR0/BattleShip/src/battleship/Logic/Player.java
- Command line
-
hf download hf://datasets/RepoFusion/Stack-Repo/data/train/CDZR0/BattleShip/src/battleship/Logic/Player.java
-
curl -L -o Player.java https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/train/CDZR0/BattleShip/src/battleship/Logic/Player.java
383 Bytes
| //Csaba | |
| package battleship.Logic; | |
| import battleship.DataPackage.PlaceShipsData; | |
| /** | |
| * | |
| * @author Csaba | |
| */ | |
| public class Player { | |
| int identifier; | |
| boolean ready = false; | |
| Board board; | |
| public Player() { | |
| board = new Board(); | |
| } | |
| public int getIdentifier() { | |
| return identifier; | |
| } | |
| public Board getBoard() { | |
| return board; | |
| } | |
| } | |