Home Tutorialhelp Comment DESCRIPTION OF THE TEST PURPOSE: The goal of th

 
 

Comment

Dileep Kumar chourasia
DESCRIPTION OF THE TEST PURPOSE: The goal of th,
March 5, 2007 at 5:59 PM

DESCRIPTION OF THE TEST
PURPOSE:
The goal of this exercise is to develop a JAVA version of Puyo-Puyo, a variation of the Tetris game.

We are interested in seeing your code writing skills, style and logic.
Don't hesitate to comment on your code in order to make it as clear as possible.

Please do not browse the web (or any other source of information) to find the code of this program already developed.

Anyway feel free to browse the web to find a playable version of the game for reference.

Purpose of this exercise is to assess the skills and game play implementation ability.

RULES OF GAME:
· Spheres come down from the top of the game board in pairs. A player can rotate them on their way down.

· Spheres come in 4 different colors: red, blue, green, and yellow

· Linking four spheres of the same color (horizontally, vertically or both(as in tetris)) removes them from the game board, allowing any sphere remaining to drop and fill the vacated space.
· This may lead to several possible "chain combos" if additional colors match.

· The game board can be any size you want (we recommend 6x12)

· Note that the pair of spheres are not linked to each other. If one sphere is blocked because there is something underneath, the other one will continue falling (with no player control over it) until it reaches something.

· The Zip Files Contain:
· 4 pictures of the spheres
· A screenshot of the game as it should look

· As stated before, feel free to browse the web to find a playable version of the game for reference if some rules are unclear.

TO SUBMIT:

- Please submit a java console application that will open a window and start the game.
- You may attach a separate text file that documents player controls and any other comments (as gameplay improvements, bugs not corrected, any comment that will help evaluate your submission...)

IMPORTANT:
- JAVA only - Java console application (not an applet)

please code of Puyo-Puyo in java
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
paths, that can be created on the file system or can be used to test whether 

Java Beginners

corejava - Java Beginners
{ public static void main(String[] args){ Thread th = new Thread 

Java Beginners

corejava - Java Beginners
Tutorials for Core Java beginners  Can anyone share their example of Encapsulation in java? I'm a core Java beginner.  Hi,Here is the description of Encapsulation in java:Encapsulation is a process of binding 

Java Beginners

CoreJava
 

Java Interview Questions

corejava
 

Java Beginners

corejava
 

Java Beginners

Description
 

Java Beginners

Description
 

Java Beginners

Description
 

Java Beginners

Description
 

Java Beginners

CoreJava Project
CoreJava Project  Hi Sir, I need a simple project(using core Java, Swings, JDBC) on core Java... If you have please send to my account 

Programming Tutorials

Developing a program to test
Developing a program to test       Developing a program to test Given below program is to test the script : Qunit.html < 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
 

Programming Tutorials

Using the QUnit to test jQuery application
Using the QUnit to test jQuery application       Using the QUnit to test jQuery...; $(document).ready(function(){ test("a basic test example" 

General

Running the Test Plan
Running the Test Plan       To run the test plan you can go to Run menu -> Run or press ctrl + r. To indicate that the test is running a green square lits up in the upper-right 

Java Beginners

corejava - Java Beginners
corejava pass by value semantics  Example of pass by value semantics in Core Java.  Hi friend,Java passes parameters to methods using pass by value semantics. That is, a copy of the value of each of the specified 

JSP Interview Questions

project description
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Beginners

corejava - Java Beginners
 

Java Interview Questions

Corejava - Java Interview Questions
 

Java Beginners

corejava - Java Beginners
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Interview Questions

corejava - Java Interview Questions
 

Java Beginners

CoreJava - Java Beginners
 

Maven Questions

Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate
Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2... giving following error: [ERROR] Failed to execute goal org.apache.maven.plugins...: Execution default-cli of goal org.apache.maven.plugins:maven-archetype-plugin:2.2 

Java Beginners

test case
test case  Hi Can you explain me how to write test case in java. regards kennedy 

Java Beginners

full description of program code
full description of program code  import java.util.*; class StringExample6 { public static void main(String[] args) { Scanner input.... i've a problem that plz describe me full description of this code thanks 

Java Beginners

full description of program code
full description of program code  import java.util.*; class StringExample6 { public static void main(String[] args) { Scanner input.... This is the full description for your second output 

General

Chapter 2. Design, build and test web components
Chapter 2. Design, build and test web...; Chapter 2. Design, build and test web components Design, develop and test Java Servlets, filters and listeners 

Java Beginners

WRITE AND TEST
WRITE AND TEST   WRITE AND TEST PROGRAM TO ACCEPT A STRING? 1).WHICH STARTS WITH 'S' OR 's' 2).ENDS WITH "nd" 3) THE LENGTH OF THE STRING SHOULD BE 10 OR LESS 

Java Beginners

full description of program code
full description of program code  escribe me below code how this program code is make and work, and those method is use in this why? import java.util.*; class SortList { public static void main(String[]args) { Scanner input=new 

JSP Servlet Questions

Online test
Online test   I am creating a project for online test system. There should be a timer,on pressing next button it will retrieve a next question and it will show on the same page,on completion of test it will show result 

General

Buy Fedora Core 3 Test 1 Linux CD's in India.
Fedora Core 3 Test 1 Linux Fedora Core 3 Is Available Now Available Fedora Core 3 Test 1CD's We are providing the free downloadable version of Fedora Core 3 Test 1 Linux CDs, which is distributed under GNU public license 

XML Questions

java test
into an xml file using java? (test_sample.csv(it should contain at least 39 lines)) i...:\\Documents and Settings/janardhany/Desktop/test_sample.txt... FileInputStream("C:\\Documents and Settings/janardhany/Desktop/test_sample.xls 

Java Interview Questions

CODING TEST
/class structure ΓΆβ?¬ΒΆ Choice of data structures ΓΆβ?¬ΒΆ Unit Test cases ΓΆβ?¬Β 

Java Interview Questions

CODING TEST
/class structure ΓΆβ?¬ΒΆ Choice of data structures ΓΆβ?¬ΒΆ Unit Test cases ΓΆβ?¬Β 

HTML Questions

how to get description for each file
how to get description for each file  hi, how to get description... file if the user select 10 file to upload........get the description for each file without description dont upload..... u have any idea......code 

Java Interview Questions

plz give me program to this: Given a string and a number ‘n’, find the ‘n’th distinct repeating character.
plz give me program to this: Given a string and a number ?n?, find the ?n?th distinct repeating character.    Given a string and a number ?n?, find the ?n?th distinct repeating character. For example, Input: Abracadabra, 1 

Java Interview Questions

2. Given a string and a number ‘n’, find the ‘n’th distinct repeating character.
2. Given a string and a number ?n?, find the ?n?th distinct repeating character.    Given a string and a number ?n?, find the ?n?th distinct repeating character. For example, Input: Abracadabra, 1 Abracadabra, 2 Abracadabra, 3 

Struts 2 Tutorials

Build and test application
Build and test application Building and application using ant At first download the Ant from the Apache site and then configure it in your system... --> <target name="clean" description="Prepare for clean 

Java Beginners

write a program in java Adding up the subscript(st,nd,rd,th) to the number of days in a input string
write a program in java Adding up the subscript(st,nd,rd,th) to the number of days in a input string    write a program in java Adding up the subscript(st,nd,rd,th) to the number of days in a input string ex:If a user enters 

SQL Question

Query to Test MySQL Performance
Query to Test MySQL Performance  Query to Test MySQL Performance 

Java Beginners

how to conduct the test in java
how to conduct the test in java  how to conduct the test in java 

Programming Tutorials

Conditional Test
 

PHP Questions

unit test in php - PHP
unit test in php  How can i run the unit test in PHP 

JUNIT Questions

Junit @Test annotation
Junit @Test annotation  What is the Application of @Test Annotation in JUnit ?   The Test annotation tells JUnit that the public void method to which it is attached can be run as a test case : public class Example 

JUNIT Questions

optional parameter of Test annotattion
optional parameter of Test annotattion   What are two optional parameters of @Test annotation ?   The Test annotation supports two optional parameters. The first, expected, declares that a test method should throw 

JUNIT Questions

test case - JUNIT
test case  Hi i am doing project on online reservation i want to know how to write the test case template for this online reservation 

JUNIT Questions

optional parameter of Test annotattion
optional parameter of Test annotattion   The Test annotation supports two optional parameters. The first, expected, declares that a test method... a different exception than the one declared, the test fails. For example, the following 

Struts Questions

online test project
online test project  i need online test project in java using struts...kindly help..   Have a look at the following link: http://www.roseindia.net/struts/struts/struts2.2.1/onlinetestapp 

Eclipse Plugins

EclipsePro Test
EclipsePro Test       EclipsePro Test contains the powerful JUnit test generation... Eclipse development environment. JUnit Test Generation & Editing 

JUNIT Questions

Junit Test Suite
Junit Test Suite  Hi Sir I am a beginner to JUnit. I have created these three test classes - CounterTest,MyClassTest & PetTest. I want to run these all with a Test Suite. Please mention code with your answer. Best regards 

JSP Servlet Questions

test cases problem
test cases problem  what to write in the testing phase of my project. My project is a JSP project that generate graphs from the student marks... 6.7.1..please help me with the test cases that could be made out 

JavaMail Questions

TEST JAMES MAIL SERVER
TEST JAMES MAIL SERVER  How to test Apache James Mail Server for stress? Which Load Generator should we use to create requests in the form of mail at a controlled rate for SMTP and POP3? Actually I needed to test JVM of the mail 

JSP Servlet Questions

Online Test System Project
Online Test System Project  I want a full ready-made project on online test system in jsp. i am not using servlet but only jsp.And backend database as mysql. my email address is help me. send a full project on online test system 

JSP Servlet Questions

online test system
online test system  Hi, I am creating a project for online test system.There should be a timer,on pressing next button it will retrieve a next question and it will show on the same page,on completion of test it will show 

JSP Servlet Questions

Online Test System Project
Online Test System Project  I want a full ready-made project on online test system in jsp. i am not using servlet but only jsp.And backend database as mysql.   Please visit the following links: http 

Java Beginners

Website Description Data Scraper & Image/Thumbnail Generator
Website Description Data Scraper & Image/Thumbnail Generator   I need Image/Thumbnail Generator code in java. Please help me 

Development process Questions

Website Description Data Scraper & Image/Thumbnail Generator
Website Description Data Scraper & Image/Thumbnail Generator   This is yhoo I need Image/Thumbnail Generator code in java. Please help me 

Tomcat Server

Write date servlet and test on tomcat
 

Struts 2 Tutorials

online test application in java
Online Test Application Table Of Contents Introduction To Application Database Design Creating Data Access Object (DAO) Design Pattern Creating Views Writing Actions Mapping Application Admin Module User Module Download 

Java Beginners

java test - Java Beginners
java test   Trace through the following program segment and state clearly the output that will be generated: public static void main(String [] args){ int no1; int no2; for (no1 = -2; no1 <= 1; no1++){ for (no2 

Software Services

Web Site Goals - Goal of Web Designing
Web Site Goals - Goal of Web Designing What are the prime features necessary for the company website? or What is the main goal of the company through... of the company or client, it becomes worthless. So the basic goal of a web design 

Struts 2 Tutorials

Test Actions
Test Actions An example of Testing a struts Action is given below using the junit. In this example the execute method is being test. HelloAction.java... method stub result = helloAction.execute(); super.setUp(); } @Test 

Java Beginners

online test application in java
online test application in java  Can questions come in html file (test.html) if we link test.jsp with test.html   We have taken radiobuttons in our application, you can take textarea, textfield etc. Here we have created 

Java Testing

HttpUnit Test
HttpUnit Test       This example illustrates about how to write a Black Box test using HttpUnit. The Block Box test is useful in evaluating the overall health 

Ajax

JayJax
.) enhanced by a Model-Presenter-Layer and the goal is to allow various communication policies between client and server. Read full Description 

Java Beginners

Create test engine - Java Beginners
Create test engine  How can create a test engine dat generates questions randomly using javax.swing in java 

Development process Questions

Grouping Of Test cases by using struts
Grouping Of Test cases by using struts  Hi, I can able to create, save, delete and execute test cases in my application. But i want to group those test cases. Give me the flow for coding 

Java Beginners

contructors 1&test
 

Java Testing

DbUnit test Life Cycle
DbUnit test Life Cycle     ...;Loading some data from XML file into the database.  Running the test... the test. These steps allow you not to waste time in writing code to restore state 

Programming Tutorials

Match EJB roles with the corresponding description of the role's responsibilities, where the description may include deployment descriptor information.
with the corresponding description of the role's responsibilities, where the description... with the corresponding description of the role's responsibilities, where the description may include deployment descriptor information. There are 6 

Java Beginners

junit test case - Java Beginners
junit test case  how to use junit for testing email id format  Hi Friend, Please visit the following link: http://www.roseindia.net/junit/ Hope that it will be helpful for you. Thanks 

Jmeter Tutorials

Using JMeter for a Simple Test
Using JMeter for a Simple Test       Lets see how to run JMeter now. We will conduct a simple test to set up a test plan and stress test a Web application. Before proceeding 

JavaScript Questions

Test hidden element using JQuery
Test hidden element using JQuery  Suppose i have an element which i am hiding and showing, using .hide(), .show() or .toggle().How do you test to see if that element is currently hidden or visible on the screen? Please provide 

Programming Tutorials

Test and debug enterprise components
Test and debug enterprise components Prev Chapter 1. Design, build and test reusable enterprise components Next    Test and debug enterprise 

Tools For Java Technology

Build and Test tools
Build and Test tools Application Build and Test tools tutorials. In this section are providing tutorials and examples for all the build and test tools... programmer builds the project again and again to test the changes in the project code 

Programming Tutorials

Design, develop and test JSPs
Design, develop and test JSPs Prev Chapter 2. Design, build and test web components Next    Design, develop and test JSPs Creating 

Java Interview Questions

Java File Handling Test Results
Java File Handling Test Results   Is somebody able to help me with this Write a program to read each name from the file and prompt the user... java.io.*; public class Test { public static void main(String[] args) throws 

Java-Tutorials

Java Training
Java Training provided by Roseindia helps the beginners to learn the basic of Java technology and take them step-by-step towards the goal of becoming... description that helps you understand the tutorial better. The Java Video tutorials 

Java Beginners

online test software using jsp and servlet
online test software using jsp and servlet  online test software using jsp and servlet 

Hibernate Interview Questions

description about jdk 1.5 features - Hibernate Interview Questions
description about jdk 1.5 features  Hi. Please can anyone provide the details description regarding the new features available in jdk 1.5....  Hi friend, JDK : JDK is a software development program provided 

Struts Questions

Struts Test case for File Upload - Struts
Struts Test case for File Upload  I need to write a struts test case for uploading a file of type FileUploadForm setUploadFile(FormFile File){ this.uploaded_file = uploaded_file; } in my test case i need 

JDBC

Description of Database Table
Description of Database Table     ... or not, whether the column is unique or primary and much more. Description... the detail description of table. When the program will gets execute then it will show 

General

JavaScript test() method
JavaScript test() method       In this section, you will study the use of test() method. The test...;of test() method</h2> <script type="text/javascript" 

Training

Description of EJB 3
Description of EJB 3     Enterprise beans are the Java EE server side components that run inside the ejb container and encapsulate the business logic of an enterprise application. EJB3 

Training

Description of GlassFish Application Server
Description of GlassFish Application Server     GlassFish is a free, open source application server that implements the newest features in the Java EE 5 platform. The Java EE 5 platform includes 

Development process Questions

Ideas for grouping the test cases by using struts.
Ideas for grouping the test cases by using struts.  I want to do grouping of test cases by using struts in eclipse. I want to include the action class for grouping the test case. Kindly help me by giving some ideas. Thanks 

CVS Questions

how to test the strtus webapplication on myeclipse6.0 - CVS
how to test the strtus webapplication on myeclipse6.0  I am using the myeclipse6.0 now,how to test the webapplication on myeclipse and how to use checkin and check out 

JUNIT Questions

To run j2me unit test case in JMeter - JUNIT
To run j2me unit test case in JMeter  Is it possible to test J2ME unit testcases in JMeter similar to JUnit test cases? If is it so, how to achieve that? Is there any patches for J2ME unit testcase to use in JMeter? Please help 

JSP Tutorials

Page Directive attribute - isELIgnored
Page Directive attribute - isELIgnored This tutorial contains description of isELIgnored attribute of page Directive. isELIgnored Attribute : page directive...:when test="${name1 eq 'Rose'}"> <c:set var=" 

MySQL

MySQL Database
the last consideration. The first goal is usually just to get it to work... that you can use to get a description of the program's options.    

Advertisements Advertisements
 

 

 

DMCA.com