Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write Assembly language Code and You are required to work on NASM. Character match game is a game that matches the sequence of 4 characters

Write Assembly language Code and You are required to work on NASM. Character match game is a game that matches the sequence of 4 characters placed in the adjacent cells. Player can swap two adjacent characters to create a row, column, or diagonal of the matched character sequence. The match sequence will be removed from the game board (after a successful match is found). For every match, the player will score n points, where n is the total number of character in the sequence removed. Furthermore, a bomb will be created once a sequence of 5 characters is created by the player. Bomb will destroy all the occurrences of that specific character from the board. The same number of points will be added to the user score. Once a sequence is removed from the board, the same number of random characters will appear and fill randomly the top cells of the board. Player information is displayed on the top right corner of the screen. In order to implement the project, it is divided into three (3) stages. Each of the stage is explained below: (Well add the phases once the relevant topic is covered). Stage 1: In this stage, you are required to create the game board i.e., a 12*12 matrix on the screen along with first 6 randomly placed characters. Your board will be colorful, and each of the character being displayed will be in a different color. Once the game board is created, next you are required to identify the sequence of two (2) same characters. If a sequence of two (2) characters is identified on the screen, youll destroy the sequence, and corresponding score will be added to the players score. Further, 2 new characters will be added to the board. At Stage 2, you are required to create a board of user choice. Moreover, choose a pool of any 8 characters which will be placed randomly on the different locations of the grid. A character can be moved through swapping to create a sequence. Your game should be able to perform the basic operations like identify the sequence of two (2) same characters. If a sequence of two (2) characters is identified on the screen, youll destroy the sequence, and corresponding score will be added to the players score. Further, 2 new random characters from the pool will be added to the board. If a match of more than two (2) characters is found, a bomb will be created. And when a bomb is swapped with any character, that character will be removed from the board. The number of characters removed will be added to the user score. Specifically, you are required to do the following tasks in this phase: 1. Design a GUI for the project a. Game board of user choice b. Player name input form the user c. Count of total moves and remaining moves d. Score 2. Fill the grid with random characters (identify the pool of 8 different characters of your choice) a. Color of each character will be different (e.g., A is always represented by red, B is always drawn in green etc.) 3. Allow user to swap the characters to create a sequence 4. Identify length 2 and more sequences, handle these according to the logic given above 5. On mouse click change the color of a box and on 2nd click of the mouse on adjacent box, swap the previous number with current. Check the current row and column to match the numbers. Stage 3: (Deadline Sunday, 26th December 2021) 1. In stage 3, you are required to: a. Complete phase 2 remaining 20% part b. You have to create blockers or obstacles on random indices that will prevent user from clearing numbers and forming combinations. These blockers can be cleared only if in the adjacent row or column a specific number combination is made and removed. When the blocker is removed then the number from above will fall into that block. c. Show the proper welcome and concluding screen d. Demonstrate the complete game you have implemented.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

Students also viewed these Databases questions