Skip to content

A 2048 clone using Processing - Uppsala University

Notifications You must be signed in to change notification settings

Senethys/1MD003

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2048_Clone

A 2048 clone using processing. User Interface Programming II Uppsala University

class gameBoard?

class Cell (x, y, widht, height)

class Tile (x, y, z, width, heigh, value, color)

Basic functon either for each tile or for the board. moveUp() moveDown() moveRigh() moveLeft()

Algorithm

  1. Assign a random variable for value

  2. drag up, down, left or right

2.1 For each cell check if it can move or not.

2.1.1 else move until it hits a tile or the border

About

A 2048 clone using Processing - Uppsala University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published