diff --git a/subjects/mobile-dev/twenty-forty-eight/README.md b/subjects/mobile-dev/twenty-forty-eight/README.md new file mode 100644 index 000000000..75332f2db --- /dev/null +++ b/subjects/mobile-dev/twenty-forty-eight/README.md @@ -0,0 +1,21 @@ +## twenty-forty-eight + +### Introduction: + +Let us imagine that today is the april of 2014 and we know that the game "2048" is not implemented yet, but will be within a month. As we are aware the game will be a success and it is not such a difficult project to implement. Your task is to implement the game before the author of the game does so. + +The game shoud start with a 4x4 table. Every new tile must be valued as either 2 or 4. Start game with 3-4 tiles, which are located randomly on the board. By swiping, tiles are moved towards any of 4 directions as far as possible and if there are two tiles that collide with the same value, they merge into one tile with twice the value, and as a result, the score is updated. +After each move, new tile appears randomly in an empty slot. +You must retain the best score. Score is attained when tiles are merged, i.e. if tiles with a value of 4 are merged, add 4 to current score. + +You can use colors of your choice, but colors of the original game are preferred. + +Use any [animation](https://docs.flutter.dev/development/ui/widgets/animation) tile movement. + +Game should stop when no legal movement is possible, and let user restart game. When game is over, update the best score if it is required. + +
+ + + +
diff --git a/subjects/mobile-dev/twenty-forty-eight/audit/README.md b/subjects/mobile-dev/twenty-forty-eight/audit/README.md new file mode 100644 index 000000000..bf601d840 --- /dev/null +++ b/subjects/mobile-dev/twenty-forty-eight/audit/README.md @@ -0,0 +1,17 @@ +#### Functional + +> In order to run and hot reload app either on emulator or device, follow the [instructions](https://docs.flutter.dev/get-started/test-drive?tab=androidstudio#run-the-app) + +###### Was the app committed within the required time period? + +###### Does the app run without crashes? + +###### Play the game for a while. Do tiles move when you swipe the screen? + +###### Do tiles with the same value merge into a single tile with double the value? + +###### When swiped, do tiles move all the way to the swiped direction? They must stop only if edge of the grid or other tile is encountered. + +###### Is the tile movement animated? + +###### Try beating best score of the game. After game is over, is the best score updated?