Coder Social home page Coder Social logo

evonneng / battle-tetris Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 227 KB

Battle Tetris game for an ARM-Cortex tm4c123 microcontroller using hardware components: LCD's, switches, slide pots, and an audio jack.

C 95.74% Assembly 4.04% C++ 0.22%

battle-tetris's Introduction

Battle-Tetris

Battle Tetris game programmed for an ARM-Cortex tm4c123 microcontroller requiring hardware components: 2 LCD's, 8 switches, 2 slide pots, and an audio jack.

by Calvin Ly and Evonne Ng

##Overview In the game Tetris, you move around a random sequence of falling 4 piece blocks around the screen with the aim of creating a horizontal line of ten units without gaps. You manipulate these Tetriminos by moving each piece sideways or rotating by 90 degrees. When such a line is created, it disappears. As the game progresses, the player loses once the stack of Tetrominoes reaches the top of the screen.

##Basic Rules

  1. There are 7 standard Tetris pieces
  2. Move active Tetris piece left, right, and down
  3. Can rotate active Tetris piece
  4. The active piece moves downwards on a timer
  5. Once active piece is placed, a new active piece spawns at the top of the board
  6. Lose when the placed blocks hits the ceiling
  7. Clear a line when filling in the entire row

##Features

  1. 4 buttons corresponding to moves: left, right, rotate, down
  2. Classic Tetris music
  3. Slide bar controlling the speed in which the pieces drop down
  4. 2 player battle Tetris - use the UART to send garbage lines to the other player that spawn at the bottom of the screen, try to follow the rules of tetrisfriends.com (perhaps some simplifying changes)
  5. Sent lines will have a single block missing in them to be able to be cleared easily

##Difficulty Tetris Rotations (collisions, wall kicks) UART communications to send game status/lines sent between them

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.