sokom141 / battleship Goto Github PK
View Code? Open in Web Editor NEWA simple battleship game written in Java
License: MIT License
A simple battleship game written in Java
License: MIT License
All images should be resized to 32*32px
We should investigate if removing the enhanced switch in favor of the classic switch is enough for the game to be compiled and played using JDK 11 - the latest LTS version.
This is a game-breaking bug.
If the user doesn't set an image before playing (required only once) the connection will close immediatly
We can support different themes with the Java Look and Feel.
The user should be able to select the theme on the Settings menu and save his/her preferences.
Describe the bug
In settings dialog there is a button to choose an user image. This button has no label and is not descriptive enough for the end user.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Button should be labeled with a description, for example 'Choose...' or 'Open an image...'.
Optional: The second dialog with title 'Image Chooser' is redundant and should be removed.
Optional: Choosen image is scaled and showed between label 'User Image' and the button
Desktop (please complete the following information):
This bug is easily reproducible by placing all but one ship and the activating the MouseListener without placing the last one.
The culprit is the cose inside ShipPlanner line 159 :
if (comboBoxItemCount == 1) { buttonOk.setEnabled(true); }
Right before winning the game, if the last ShipUnit is hitted the background color of the clicked button doesn't change to the color set to indicate an hit.
Implementing a "random" placement button on ShipPlanner
would be a nice addition.
The button should be placed alongside others and work nicely with the already working buttons.
It would be interesting to add a single player mode so you can play by yourself.
The game title on the game should reflect the version of the game designed on the maven file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.