codyjamesbrooks / connect-4 Goto Github PK
View Code? Open in Web Editor NEWReact Connect-4
React Connect-4
Need to update the layout for different medias.
Mostly small ones. Right now I have the grid capped so that it cant expand past 1001px.
This may involve reworking the gameSpace circles. They are fixed at 11vmin right now, But may need to rework that.
Refactor tokenFallToBotten so that it is doing less.
Right now it grabs the lowest empty game space, and shifts it to the top of the array. Then it performs a check to see if the new column looks the same as the column that it started with, if it is it clears the interval and check to see if that results in 4 in a row, if it isn't it calls a setState to reflect the new state (produces sliding effect).
Break this up into three different functions.
One to move the token. One to clear interval and check game status, One to Perform the state update if necessary
Fade should indicate whose turn it is.
Right now the only thing that displays whos turn is the hover token.
Also probably a good idea to add some conditional styling to the Connect4 Banners - Something like blurring and lighting up the border.
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.