Git Product home page Git Product logo

connect-four's People

Contributors

bryanbraun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

connect-four's Issues

Remove the error message for "This position is already taken"

Currently, we display hover/focus states on locations with existing pieces, and then display an error when a person tries to place a piece there:

image

Instead, our hover/focus should make it clear that there's no interactivity to be expected when clicking on a location with an existing piece. If we do that well, then no error should be necessary. Clicking will just do nothing and that will be enough of an indication that you can't put a piece there.

This can be considered alongside #3 to see what the ideal set of combined hover/focus behaviors should look like.

No license; cannot legally use

Hello,

I love your project on Connect 4, but I can't legally use it because there isn't an open source license attached.

Could you please add a license you feel is appropriate to your repository?

Thanks!

On hover, highlight the drop location

Like this (instead of our current practice of highlighting the icon under the cursor):

c4

(note: as part of this, we should also change the cursor to a pointer when over interactive elements)

We should be able to do something like this on focus too.

Nice implementation! Would you like to play?

Hi @bryanbraun - Long time no see! I just ran into this on a Google search looking up the connect four clone I also made in JS. Figured I'd say hi :-). We should play Connect Four sometime! Hit the following invite URL in Beaker Browser and send me the invite back!

dat://connect-four.hashbase.io/?join=02080684337b678b653ba3ec165cbf0787d2164e80c367d7d431e9d955eb7d68

Add something explaining the game rules

Some content for the rules already exists in the "description" meta tag.

Ideas:

  • Make the rules really succinct and just put them somewhere on the page.
  • It could be a link next to the "source code" link, that opens the rules in a separate modal or popup window.
  • Add a Details / Summary accordion for a really simple implementation. Maybe it could go below the playing grid and have a + icon next to it to show that it can be expanded/collapsed?

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.