Skip to content

Oleksandren/simplePuzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-puzzle

Simple puzzle game.

It's a simple project, which can be used as a sample of my code. This project was developed as a test task at any one company.

User can choose image from Gallery or default list images. When user tapped picture there is a transition to a game screen. Application only supports images with size 600 x 600 pixels. The size of the playing area 3 x 3 cell. If a picture is chosen by the user more than 600 by 600 pixels, it is cut to the desired size. If a picture is smaller than 600x600 pixels, will be shown an alert: "Selected picture the small. Please select a another picture" and the transition to previous screen.

В приложении отображаются дефолтные картинки, и есть возможность выбора картинки из галереи. Юзер выбирает картинку(тапает по ней), и при этом происходит переход на экран игры. Поскольку маску пришлось делать самому в фотошопе, я сделал ее только для расширения 600 х 600 (рх) для размера игрового поля 3х3 пазла. Если картинка которую выбрал юзер больше чем 600х600, она обрезается до нужного размера.(По хорошему тут надо было алертом предупредить юзера об этом, или предоставить на выбор: обрезать или ресайзнуть картинку). Если картинка меньше чем 600х600 - я алертом оповещаю юзера об этом, и выхожу с экрана игры.

Releases

No releases published

Packages

No packages published