gameloft笔试题

题目要求如下:

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.

The purpose of this exercise is purely a skill assessment, and gameplay 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)
- ALL COMMENTS IN ENGLISH

 
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值