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

adamamer1801/documatic-hackathon-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published