Observed since 20 Oct, 18:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A library based in a functional programming paradigm to creates a 2048 game.
A library based in a functional programming paradigm to creates a 2048 game.
addNumberToPlayField(playField)
Adds a random number (2 or 4) instead of one of the empty cells.
initPlayField()
Creates a new playing field with empty cells and adds a random number (2 or 4) on a randomly selected cell.
movePlayField(playField, direction)
Makes a move on the playing field in the specified direction.
###isWin
isWin(playField)
Checks if there is a cell with the number 2048 on the playing field.
isLoss(playField)
If all cells are occupied and it is impossible to make a move, then the player is defeated.
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 18:55 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0b6df4688d98294766a066617ee5df4b88fbb2a26cebaa7baea85d449677e565