Giter Club home page Giter Club logo

neopixel2048's Introduction

NeoPixel 2048

My implementation of the popular game 2048 built using a 4x4 NeoPixel Matrix and powered by an Arduino micro-controller. This version of the game relies on RGB LEDs to display the state of each cell instead of the numeric value like the original game.

The rules of my implementation of 2048 remain the same as the original game. A player will use a D-pad to control which direction to slide all of the tiles on the game board. When two tiles of the same value are slided together, they combine into a tile with the sum of the two original tiles. Since this game will be implemented with color instead of numbers, there is a simple mapping of all the powers of 2 to a unique color.

The beauty of the NeoPixel (WS2812) is that you can fully control the entirety of the matrix with only one PWM pin on Arduino. This means that I can potentially use an extremely small form factor board such as ATTiny85 to build this project. This will allow for the game to be completely contained in a handheld form factor, allowing it to live as a standalone game 'console'.


Products used in this project include:

Libraries used in this project include:

Todo

I would like to port this project to a new QTPY board from Adafruit.

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.