Computer Science Project
description
Transcript of Computer Science Project
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.• 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……
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?
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.
Can it be written in C++?
• Yes.• 當然可以• 東聯诶賽
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.