diff --git a/2048.cpp b/2048.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/README.md b/README.md index 084c852bd0b54303e4e6d13e4bc1c975d8bc0634..fb8068a8d0ca9e332d42d6d70c0d79cb8ca90e23 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # 2048 Game -### In this Code I am going to be recreating [this game](https://play2048.co/) \ No newline at end of file +## In this Code I am going to be recreating [this game](https://play2048.co/) in a linux command line. + +# The Rules + +* If 2 of the same numbers touch they will combine and add up to the value of both added together (e.g. if a 2 block touches another 2 block they will combine and become one 4 block) + +* You can use the 2 common layouts of cursor keys (arrow keys or wasd) + +## The Aim +The aim of the game is to get one of the blocks upto a score of 2048 \ No newline at end of file diff --git a/game.hpp b/game.hpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391