Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (11 loc) · 1.03 KB

README.md

File metadata and controls

19 lines (11 loc) · 1.03 KB

My submission for the Documatic 4th Hackathon.

game with colours

similar to 2048

with some gameplay changes to make it easier

The only modules used are Discord.js and the ones necessary to implement Slash Commands, as well as ts-node (to run).

To begin, use /play. You will initially be given a 5x5 grid of black squares and one red square.

There are 4 moves: up, down, left and right. All of these, move every block on the grid by one grid-block to the movement that you select, which is where the challenge comes in.

Every move, a new red square will appear in a random spot. You have to get these 2 red squares to merge with each other, to get a orange square. 2 oranges make a yellow, 2 yellows make a green, 2 greens make a blue, 2 blues make a purple, and 2 purples make a white, where you win the game.

It's in the order of the rainbow, for less confusion. Had to make due with what emojis I had (since I couldn't use numbers)

It's easier than you think.

Personal best is 78 moves and 123.716 seconds :)