{"id":15055571,"url":"https://github.com/ruun/battleship","last_synced_at":"2026-01-02T10:04:21.527Z","repository":{"id":253823681,"uuid":"844641395","full_name":"Ruun/BattleShip","owner":"Ruun","description":"BattleShip Game developed with javaFX. This is for my course: CST8221 Java application programming","archived":false,"fork":false,"pushed_at":"2025-01-15T00:39:54.000Z","size":31383,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T19:52:56.115Z","etag":null,"topics":["battleship","battleship-game","cst","cst8221","java","javaapplication","javafx","javafx-games"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ruun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-19T17:13:17.000Z","updated_at":"2025-01-15T00:39:55.000Z","dependencies_parsed_at":"2024-09-29T03:20:38.897Z","dependency_job_id":"b16a5ed2-2a76-42d4-8dd8-fcfa09ae0527","html_url":"https://github.com/Ruun/BattleShip","commit_stats":null,"previous_names":["ruun/battleshipz"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruun%2FBattleShip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruun%2FBattleShip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruun%2FBattleShip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruun%2FBattleShip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ruun","download_url":"https://codeload.github.com/Ruun/BattleShip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532532,"owners_count":20306152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["battleship","battleship-game","cst","cst8221","java","javaapplication","javafx","javafx-games"],"created_at":"2024-09-24T21:44:34.859Z","updated_at":"2026-01-02T10:04:16.470Z","avatar_url":"https://github.com/Ruun.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BattleShipZ\n\nBattleShipZ is a Battleship game developed using JavaFX. Engage in classic naval warfare with options to play against a bot or another player.\n\n# Screenshots\n\n![Screenshot1](Screenshot1.png)\n![Screenshot2](Screenshot2.png)\n![Screenshot3](Screenshot3.png)\n![Screenshot4](Screenshot4.png)\n![Screenshot5](Screenshot5.png)\n\n## Project Features\n\n- **Player vs Bot**: Test your skills against an AI opponent.\n- **Player vs Player**: Connect through a server to play against another human player.\n- **Swap Button**: Easily switch views between your board and the enemy's board, or modify the layout to display both boards side by side.\n- **In-Game Messaging**: Communicate with your opponent during the game.\n- **Game Stats**: Track your wins, losses, and other stats.\n- **Translation**: Translate between english/french (needs more work)\n- **Sound Effects**: Enjoy immersive game sounds, including background music, shooting, misses, wins, and losses.\n\n## How to Run the Game\n\n### Option 1: Run the JAR File\n\n1. **Download the JAR file**:\n   - [JAPLabsSwing.jar](https://github.com/Ruun/BattleShip/blob/main/JAPLabsSwing.jar)\n3. **Run the JAR file** in your command line:\n\n   ```bash\n   java --module-path \"/path/to/javafx-sdk-22.0.1/lib\" --add-modules javafx.controls,javafx.fxml -jar JAPLabsSwing.jar\n   ```\n\n   Replace `/path/to/javafx-sdk-22.0.1/lib` with the actual path to your JavaFX SDK.\n\n### Option 2: Build from Source\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/Ruun/BattleShipZ.git\n   ```\n\n2. **Navigate to the project directory**:\n\n   ```bash\n   cd BattleShipZ\n   ```\n\n3. **Use Maven to clean and build the project**:\n\n   ```bash\n   mvn clean package\n   ```\n\n4. **Run the generated JAR file**:\n\n   ```bash\n   java --module-path \"/path/to/javafx-sdk-22.0.1/lib\" --add-modules javafx.controls,javafx.fxml -jar target/BattleShipZ-1.0-SNAPSHOT.jar\n   ```\n   Replace `/path/to/javafx-sdk-22.0.1/lib` with the actual path to your JavaFX SDK.\n\n## Credits\n\nThe server-side implementation is largely based on [this repository](https://github.com/JMazur121/Battleship).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruun%2Fbattleship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruun%2Fbattleship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruun%2Fbattleship/lists"}