Giter Club home page Giter Club logo

battleship's People

Contributors

jbelisle avatar karlracke avatar saterus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

battleship's Issues

Use setPreferredSize to control layout sizes

Currently some of the UI changes drastically when you interact with it. This is a little silly.

Try clicking the OrientationSelector button to see what I mean. It causes the GridView to resize.

Action Outcome Message

During the waiting screen, we should display the outcome of the last event.

"Player 2 sunk Player 1's Battleship."
or even something as basic as:
"Player 1 has finished placing."

Add Border w/ info to GridViews

We should add a border to our display for both the PlacementView and the soon-to-be-implemented FiringView.

Basic info:

  • Current Player Name
  • Grid Labels, 0-9, A-J

Fix Logging

I've added logging in a lot of places, but I can't get the logging properties file to work correctly, and thus, can't see any of the fine/r/est level stuff.

Firing Mode

I have the skeleton of the class there, but I didn't add any LayoutManger or child-components.

Default nextShipType selection

Default to the next ship type after placing one ship. Highlight the currently selected ship to give a visual cue to the user.

Placement Bug

There's an off by one error somewhere in the bounds checking. You can't place a ship in the column or row nearest the edge.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.