bryanbraun / connect-four Goto Github PK
View Code? Open in Web Editor NEWConnect Four, in Javascript.
Home Page: http://bryanbraun.github.io/connect-four
License: MIT License
Connect Four, in Javascript.
Home Page: http://bryanbraun.github.io/connect-four
License: MIT License
They are annoying. People should be able to input their names in a less annoying way.
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!
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
The simplest approach would be to highlight each of the winning pieces with some sort of border or shadow.
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:
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.
Some content for the rules already exists in the "description" meta tag.
Ideas:
+
icon next to it to show that it can be expanded/collapsed?This would help indicate that the board is no longer interactive.
It may be best to address this after #3, since that will likely change how the hover states work.
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.