Giter VIP home page Giter VIP logo

connectfour's Introduction

connectfour

A very simple connect four game to demonstrate basic web dev to a novice.

HTML

Html is used for the basic building blocks of the game mainly for a table for the layout. Also for importing CSS and JS.

CSS

CSS is used for adding visiual 'style' to the html for displaying.

JS

We use JS for the 'moving parts', the event to actually make a move.

PHP

Only added this to use some server side code. It's used here to reduce code duplication by building the tables in loops.

Future Improvments

  1. Modify JS to actually work out who has won. Current the game doens't end when someone connects four.
  2. Use MYSQL for storing a leader board, maybe even users?
  3. Use transparent png to build connect four board and CSS to change bg colour rather than different images

connectfour's People

Contributors

psaunders88 avatar

Watchers

 avatar  avatar

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.