Skip to content

AriFordsham/2048-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048 clone

A clone of the 2048 game, written in TypeScript.

Usage

Source code in main.ts.

Prebuilt and HTML skeleton in dist/.

Rebuild using npm install && npx tsc .

Some implementation notes

  • I strove to use a clean code style, using functional patterns where practical. 'User-defined control structures' have been used to reduce duplication.

  • As a convention, methods are only used for functions that mutate object state. Pure functions are declared top-level.

About

Clone of the popular game 2048

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published