Computer Science Project

6
COMPUTER SCIENCE PROJECT LUMINES BLOCK CHALLENGE Team 22 沈沈沈 沈沈沈沈 沈沈沈 、、

description

Computer Science Project. Lumines Block Challenge. Team 22 沈昇勳、李宗儒、洪銘駿. What is Lumines ?. Sit still and watch the film. Lumines is a game that you operate 2*2 blocks which is composed of 2 colors: red and white. - PowerPoint PPT Presentation

Transcript of Computer Science Project

Page 1: Computer Science  Project

COMPUTER SCIENCE PROJECT

LUMINES BLOCK CHALLENGE

Team 22 沈昇勳、李宗儒、洪銘駿

Page 2: Computer Science  Project

What is Lumines?

• Sit still and watch the film.• Lumines is a game that you operate 2*2 blocks

which is composed of 2 colors: red and white.• To get points, we “drop” the block at the top of

the screen and try to form 2*2 blocks composed of only one color.

• A line swipes from left to right and eliminates the 2*2 blocks in one color.

• But almost everyone knows this game……

Page 3: Computer Science  Project

How is the score calculated?

• We try to arrange the blocks with the same color together.

• A line swipes through the screen, eliminating the blocks in one color.

• By what strategy can we score the most?

Page 4: Computer Science  Project

Motive

• Our friend, SillyDuck Yang dedicated his whole life to writing a C++ lumines program that can beat the cellphone version. However, he faced some technical difficulties and put the project away.

• He mentioned this project to us. We found it very interesting and challenging. So we decided to pick up from where he stopped.

Page 5: Computer Science  Project

Can it be written in C++?

• Yes.• 當然可以• 東聯诶賽

Page 6: Computer Science  Project

But how?

• During our first attempt, we wrote a two- dimensional array, which is composed of 3 numbers: 0, 1 and 2. 0 represents blank, 1 being red, 2 being white.

• In the project, we will write several functions so that we are able to control the movement and rotation of the block.

• The elimination of the blocks also needs to be discussed.• We also aim for the enhancing of the game’s playability

if possible.