Home
Important Dates Grading Lectures Optional Readings
Exercises Group Assignments Individual Assignments
Exam Schedule
Videos Slides
College of Engineering Aeronautics and Astronautics Agricultural and Biological Engineering Biomedical Engineering Chemical Engineering Civil Engineering Construction Engineering and Management Electrical and Computer Engineering Engineering Education Engineering Professional Education Environmental and Ecological Engineering Industrial Engineering Materials Engineering Mechanical Engineering Nuclear Engineering
EPICS (Engineering Projects In Community Service) First-Year Engineering Program First-Year Engineering Honors Program Global Engineering Program Minority Engineering Program Professional Practice (Co-Op) Program Women in Engineering Program
College Administration Schools Programs All Groups All People ECN Webmail
Purdue Home

ECE 462 Fall 2009

Group Assignments "Super Tetris"

[ Goals | Overview | FAQs | Demo ]

Goals

The goals of this assignment include

  • design and implement a non-trivial program in multiple stages
  • work in a team
  • handle team changes

This assignment is divided into four stages, with increasing degrees of flexibility and freedom for your creativity in design and implemetation.

  • Stage 1: generate Tetris pieces
  • Stage 2: interactive super Tetris
  • Stage 3: two-player super Tetris through the Internet
  • Stage 4: competition

You can use Java or C++ or both for the assginment. You can change the languages in different stages. However, in each stage, every team member must use the same language.

Overview

Tetris (or Tetrix) is a 2-dimensional board game. The following is a screenshot.

Tetris

The following video shows a demonstration of Tetris.

The original Tetris has 7 different pieces, each with four squares:

A 2-player Tetris is an extension by allowing two people to play and compete. Two people play Tetris in two play panel side by side. When a complete horizontal line is completely filled, this line is eliminated and the line, except the last filled square (or squares), is sent to the bottom of the opponent's play panel. The following figures illustrate two examples:

becomes

Please notice the last two lines on the left are sent to the bottom of the right panel.

becomes

A square will be shipped only once.  If it is eliminated the second time, it is removed completely.

In a "Super Tetris", each piece may have 4, 5, 6, or 7 squares. The following figure shows some example of pieces of 1-5 squares. For this assignment, ignore the pieces of 1, 2, or 3 squares (the top row).

In this assignment, you (and your teammates) will generate additional pieces with more squares, create a user interface, check and eliminate lines, use the Internet to allow two people to play.