User prompt
delete one instance of selecetd cells display
User prompt
hide selected cells count
User prompt
change font color of score to black
User prompt
Fix Bug: 'ReferenceError: selectedCellsCountTxt is not defined' in this line: 'selectedCellsCountTxt.setText('Selected Cells: ' + selectedCells.length);' Line Number: 297
User prompt
Fix Bug: 'ReferenceError: selectedCellsCountTxt is not defined' in this line: 'selectedCellsCountTxt.setText('Selected Cells: ' + selectedCells.length);' Line Number: 297
User prompt
Fix Bug: 'TypeError: Cannot read properties of null (reading 'type')' in this line: 'var targetType = dragStartCell.type;' Line Number: 218
User prompt
add score in the top of the screen
User prompt
when four of more are exploded destroy all the cell of the some color in the grid
User prompt
fourormore asset should spawn for one second in the center of the screen
User prompt
make sure fourormore spawns in game
User prompt
add fourormore asset that will spawn in the center of the screen when the player destroys 4 cells together.
User prompt
doublescore asset should spawn in the middle of the screen every time the player destroyed 4 or more cells together
User prompt
when 4 or more cells are destroyed together shouw double score asset
User prompt
initiaate doublescore on tick
User prompt
create a new asset called doublescore
User prompt
obliquos connections between cells should not be allowed
User prompt
change text color to black
User prompt
change game background color to white
User prompt
add game background color
User prompt
if four or more cells explode together double the score
User prompt
reduce de tile to be 4 by 4
User prompt
score should add 10 per cell destroyed
User prompt
Fix Bug: 'ReferenceError: connectedNeighbors is not defined' in this line: 'score += 10 * connectedNeighbors.length;' Line Number: 172
User prompt
the more cells are destoryed together more the points you will get
User prompt
add scoretxt and score logic to the game
===================================================================
--- original.js
+++ change.js
@@ -302,8 +302,9 @@
particle.destroy();
self.particles.splice(i, 1);
}
}
+ selectedCellsCountTxt.setText('Selected Cells: ' + selectedCells.length);
if (!self.checkMovesAllowed()) {
if (!self.gameOverTimeout) {
self.gameOverTimeout = LK.setTimeout(function () {
LK.showGameOver();