A quick Class Based implentation of 2048 on Node JS, full typescript
- Full Typescript Support.
- Save Support.
- Last game and highest score saving.
git clone https://github.com/Unbuttun/2048-typescript-cli
cd 2048-typescript-cli
pnpm install
or
npm install
or
yarn
mv .env.example .env
pnpm start
To run this project, you will need to add the following environment variables to your .env file
FINAL_SCORE
-> The score to reach before exiting.
INITIAL_NUMBERS
-> Number of numbers to be present on Board on game start.
SIZE
-> Size of the Board