Code Monkey home page Code Monkey logo

connect-4's People

Contributors

codyjamesbrooks avatar

Watchers

 avatar

connect-4's Issues

Media Mixins

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.

Break up tokenFallToBottem

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

Put Conditional Fade on the body

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.

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.