Giter VIP home page Giter VIP logo

7x7's Introduction

7x7 Grid Game

A vanilla js browser game inspired by some random android app by the same name I found years ago.

Why

I remember playing it on android and thinking "I could probably build this" when I was first starting out my programming career. So I started on it and have (mostly not) worked on it over the past few years until recently.

About

The only rules I gave myself were to write everything in vanilla JS. No bundlers, only browser-safe ES6. I did have one allowance to use Sass, which I use gulp to compile.

Rules

Every turn, random colored squares appear in random (empty) locations. Select a square and move it to the desired location. If you can arrange 4 or more squares adjacently, they disappear. Bonus multiplier for removing >4 at a time.

A square may only be moved if there's a clear path to the new location.

As you accumulate points, the difficulty level increases (more squares appear every turn).

Live version

http://jabyess.github.io/7x7/

Execution

$ git clone https://github.com/jabyess/7x7
$ cd 7x7

Then load up index.html in your favorite static webserver. If you don't have one:

$ npm install -g http-server
$ http-server .

Todo:

  • Levels
    • Number of squares that appear every turn should increase as levels progress
    • Every few levels (3 or 4), a new color is added
  • Dynamic grid size??
  • CSS / styling
  • animations
  • highlight valid move paths

7x7's People

Contributors

jabyess avatar

Stargazers

Meru A. avatar

Watchers

James Cloos 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.