Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Assignment 2048
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
h45-taylor
Assignment 2048
Commits
07129341
Commit
07129341
authored
1 year ago
by
h45-taylor
Browse files
Options
Downloads
Patches
Plain Diff
added screenshots dir and adding images into readme file
parent
7479d835
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
Screenshots/Starting grid.png
+0
-0
0 additions, 0 deletions
Screenshots/Starting grid.png
with
1 addition
and
1 deletion
README.md
+
1
−
1
View file @
07129341
...
...
@@ -29,7 +29,7 @@ The aim of the game is to get one of the tiles upto a score of 2048 by combining
### Initilise Function
First we set a seed for our random number generator using the system time as the seed.
Then we set the
`
``
gameOver
``
`
and the
``
` moved `
``
variables to false to get it ready.
Then we set the
`gameOver`
and the
` moved `
variables to false to get it ready.
Then we use for loops in order to create the board.
Then run the generateRandomTile function to create the first tiles in the game.
...
...
This diff is collapsed.
Click to expand it.
Screenshots/Starting grid.png
0 → 100644
+
0
−
0
View file @
07129341
2.46 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment