1 / 18

Lumines Block Challenge

Lumines Block Challenge. Demonstration. Team 22 沈昇勳、李宗儒、洪銘駿. Forewords. Among EE students, one particular game is especially popular and has many devoted players: LUMINES. Forewords.

carys
Download Presentation

Lumines Block Challenge

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lumines Block Challenge Demonstration Team 22 沈昇勳、李宗儒、洪銘駿

  2. Forewords • Among EE students, one particular game is especially popular and has many devoted players: LUMINES.

  3. Forewords It is so popular that students play it on the MRT, before sleep, occasionally even during class (just kidding :P)! We decided to do an implementation of this well-received game on C++, which we have learned in last semester’s computer programming course. Before sleep During class On the MRT

  4. color design “0” to represent “space”, where there is no cube in the cell. “1” means the white cube “2” means the red cube “-1” is the “erasable” white cubes (which are gray cubes) “-2” is the “erasable” red cubes (which are crimson cubes)

  5. color design *erasable: some blocks can be eliminated and increase the player’s score. “9” is the blue blocks, the blocks that appear after blocks in one color are deleted.

  6. Function design: drop “drop”: This function makes a cube with “space” beneath it fall until whatever underneath it is not “space” anymore; that is, it is at the bottom or on top of other cubes.

  7. Function design: changecolor “changecolor”: This function is used to decide if a cube and the cells on the right, on the bottom right and under it are of the same color. If they are in the same color, then this function turns these four cubes into “erasable” cubes, which are the cubes in darker colors. We use the “for” loops to distinguish the colors of the cells.

  8. Function design: getpoint “getpoint”: This function records how many blocks have been eliminated, thus keeping track of the player’s score.

  9. Function design: show “show”: The function that is the integration of all the other functions. This function refreshes the game screen after a period of time, so that it can update and change the display simultaneously.

  10. Function design: show It turns the numbers in the game screen (an array) into different colors, and then a line would swipe through the screen from the far left to the other end. If the line meets a block that is erasable, it would be eliminated.

  11. Function design: show We also assigned a variable called “flag”. This variable is used to mark whether a cube is “droppable”. Flag=0 Flag=1

  12. Function design: control “control”: We used ASCII to make the function able to manipulate the cubes. With this function, the player can control the movements of the random 2*2 blocks. We assign the “enter” button as clockwise rotate, “up” as the rotation in the opposite direction, “down” as drop, “left” and “right” as the movement of the cube.

  13. Function design: create&shift As for the creation of the random blocks, we designed two functions: “create” and “shift”. When a random block is “dropped”, these two functions will be triggered and thus creating a new random block.

  14. Film for luminesc++

  15. Mixing: Lumitetris In short, LUMINES+ TETRIS= LumiTetris. Tetris Battle is an online competition game. In “2P battle” mode, whoever gets the most lines sent or the most KO's wins in this game. Lines sent can only be cleared by placing a tetris piece on top the Bombs.

  16. Rules of Lumitetris Each player has to eliminate his or her own blocks, but if a player eliminates six or more 2*2 blocks in one round, he or she can force the game screen of the other player to have one more row of cubes that is randomly produced appear at the bottom of this other player’s game screen. After 90 seconds, the game is over. The player with more score and more “spaces” wins.

  17. Time to Demonstrate Lumitetris!!!

  18. The end Thanks for your attention Team 22 沈昇勳、李宗儒、洪銘駿

More Related