Commit graph

511 commits

Author SHA1 Message Date
Lucas Lima
9a449d1bc1
Fix up button 2020-06-27 18:01:39 -03:00
Lucas Lima
1958ba9d1d
Fix ktlint 2020-06-26 17:42:06 -03:00
Lucas Lima
82fcaad043
Rename LevelFacade to GameController 2020-06-26 17:40:45 -03:00
Lucas Lima
da03e4fdfc
Refactor and fix tests 2020-06-26 17:33:40 -03:00
Lucas Lima
41678fd2e4
Add new GameControls 2020-06-26 00:35:35 -03:00
Lucas Lima
e91cbf285e
Add custom control support 2020-06-26 00:16:06 -03:00
Lucas Lima
abcf8d24bf
Rename onClickArea 2020-06-25 22:07:02 -03:00
Lucas Lima
c9f7c1ea42
Fix bugs 2020-06-23 00:30:33 -03:00
Lucas Lima
c6604cef42
Fix ktlint 2020-06-22 23:06:53 -03:00
Lucas Lima
c64f1c0f40
Fix dagger hilt and bump version 2020-06-22 22:55:46 -03:00
Lucas Lima
4fb319990c
Bump version 2020-06-22 21:22:03 -03:00
Lucas Lima
dd644b5036
Fix bug 2020-06-22 21:21:10 -03:00
Lucas Lima
c0c42b8726
Fix stability bug 2020-06-22 20:40:30 -03:00
Lucas Nunes
7f1ab71e81
Merge branch 'master' into bump-version 2020-06-20 20:22:25 -03:00
Lucas Lima
fe6af3fdfc
Bump version 2020-06-20 16:49:00 -03:00
Lucas Lima
d1fa4ec806
Center board considering navigation bar 2020-06-20 16:41:03 -03:00
Lucas Lima
39f58907cf
Fix ktlint 2020-06-20 16:04:11 -03:00
Lucas Lima
51927617ec
Use Hilt lifecycle viewmodel and remove ViewModelFactory 2020-06-20 16:02:04 -03:00
Lucas Lima
f6980ca68f
Merge branch 'migrate-to-hilt' of github.com:lucasnlm/antimine-android into migrate-to-hilt 2020-06-20 15:05:16 -03:00
Lucas Lima
ed6f979be6
Fix lint 2020-06-20 15:05:02 -03:00
Lucas Nunes
483c4c94c5
Merge branch 'master' into migrate-to-hilt 2020-06-20 15:00:11 -03:00
Lucas Lima
fc674c5429
Try fix tests 2020-06-20 14:59:45 -03:00
Lucas Lima
38d518a686
Fix Application context provides 2020-06-20 12:22:22 -03:00
Lucas Lima
6453ea49cb
Migrate Modules 2020-06-20 12:17:48 -03:00
Lucas Lima
fc6e53b7ab
Migrate Activity and Fragments 2020-06-20 12:07:24 -03:00
Lucas Lima
1aa2396a5e
Migrate gradle 2020-06-20 12:01:27 -03:00
Lucas Lima
8267679495
Fix lint 2020-06-20 11:45:31 -03:00
Lucas Lima
d6075fbad6
Add CommonLevelFragment and fix vertical center 2020-06-20 11:41:32 -03:00
Lucas Lima
1d3c524b6c
Add safety check to avoid miss clicks on openNeighbors 2020-06-20 11:00:39 -03:00
Lucas Lima
dec946e1f3
Fix app tests 2020-06-20 10:09:41 -03:00
Lucas Lima
a1bf70c563
Fix tests 2020-06-20 10:01:07 -03:00
Lucas Lima
57f1e64309
Revert Kotlin implementation of FixedGridLayoutManager.java 2020-06-20 00:40:29 -03:00
Lucas Lima
bc4c30e6af
Add FreeGridLayoutManager 2020-06-19 21:40:28 -03:00
laryeuzani
6f72d71723
Correção de typo 2020-06-14 22:27:35 -03:00
Lucas Nunes
e23b0c3d34
Merge branch 'master' into bump-version 2020-06-12 14:30:04 -03:00
Lucas Lima
17910972b7
Bump version 2020-06-12 14:28:50 -03:00
Lucas Nunes
ee56d7bbb7
Merge branch 'master' into add-ja-translation 2020-06-12 14:15:08 -03:00
Lucas Lima
04188fa3a3
Add Japanese translation 2020-06-12 14:14:32 -03:00
Lucas Nunes
a401ede3f8
Merge branch 'master' into add-defeat-victory-stats 2020-06-12 09:29:19 -03:00
Lucas Lima
c01eddc411
Update strings 2020-06-12 09:28:53 -03:00
Lucas Nunes
fb5b3ca7d8
Merge branch 'master' into add-retry 2020-06-12 09:02:50 -03:00
Lucas Lima
014b4feebf
Add defeat and victory to stats 2020-06-12 08:53:03 -03:00
Lucas Lima
1c73756797
Fix retry and avoid remove old victory games 2020-06-12 08:36:25 -03:00
Lucas Lima
19b91aa432
Add retry button 2020-06-12 08:33:16 -03:00
Lucas Lima
dcd73f36f6
Fix save 2020-06-11 10:31:45 -03:00
Lucas Lima
db2acf52fd
Fix format 2020-06-11 10:08:58 -03:00
Lucas Lima
be3938927c
Rename Retry and reformat Analytics 2020-06-11 00:47:31 -03:00
Lucas Lima
7b69fb57d2 Merge branch 'add-retry' of github.com:lucasnlm/antimine-android into add-retry 2020-06-11 00:06:26 -03:00
Lucas Lima
5815b6957a Add FirstOpen model 2020-06-11 00:00:23 -03:00
Lucas Lima
5545e346e8 Add retry game 2020-06-11 00:00:23 -03:00
Lucas Lima
aefcf9114a Add firstOpen index 2020-06-11 00:00:23 -03:00
Lucas Nunes
fabac4a83b
Update common/src/main/res/values/strings.xml 2020-06-10 20:45:15 -03:00
Lucas Lima
8067b08120
Add retry button 2020-06-10 10:32:41 -03:00
Lucas Nunes
062b397168
Merge branch 'master' into add-retry 2020-06-10 09:21:11 -03:00
Lucas Lima
9ab400c999
Add retry game 2020-06-10 09:17:26 -03:00
Lucas Lima
94e71a2950
Add firstOpen index 2020-06-09 22:50:15 -03:00
Lucas Lima
3bfa97988f
Bump version 2020-06-04 00:08:43 -03:00
Lucas Lima
d85b790ec3
Bump version 2020-05-31 10:26:04 -03:00
Lucas Lima
66d471a1dc
Update DE strings 2020-05-31 10:23:35 -03:00
Lucas Lima
4024fa5adb Update zh strings.xml 2020-05-24 12:58:01 -03:00
Lucas Lima
f0769298f7
Update strings 2020-05-21 11:04:03 -03:00
Lucas Nunes
85e398536d
Merge pull request #71 from lucasnlm/add-stats
Add stats
2020-05-20 16:01:13 -03:00
Lucas Lima
cae01c6fcc
Fix build and lint 2020-05-20 14:55:52 -03:00
Lucas Lima
4feed97492
Fix resize bug 2020-05-20 14:50:41 -03:00
Lucas Lima
55c859a770
Update strings 2020-05-20 14:22:00 -03:00
Lucas Lima
a8ab8c4240
Add Stats screen 2020-05-20 14:14:53 -03:00
Lucas Lima
78ea2d9f87
Add StatsDao, Repository and basic implementation 2020-05-18 09:19:29 -03:00
Lucas Lima
b07ce87f08
Add stats activity 2020-05-17 14:09:55 -03:00
Lucas Nunes
38baae4fd5
Merge branch 'master' into add-greek-strings 2020-05-15 10:15:29 -03:00
Lucas Lima
a657058628
Fix build 2020-05-15 09:59:17 -03:00
Lucas Lima
6502a59f67
Add greek translation 2020-05-14 12:18:36 -03:00
Lucas Lima
e438be204f
Update strings 2020-05-12 18:12:40 -03:00
Lucas Lima
a577921b72 Avoid show GG dialog on saved games 2020-05-12 17:19:10 -03:00
Lucas Lima
18f0f498e1 Load old games 2020-05-12 17:19:10 -03:00
Lucas Lima
2431718ce2 Add save history 2020-05-12 17:19:10 -03:00
Lucas Nunes
69abbe3285
Merge branch 'master' into fix-explosion-animation 2020-05-07 10:34:02 -03:00
Lucas Lima
56e3a90847
Fix explosion animation 2020-05-07 10:12:59 -03:00
Lucas Lima
109c16e385
Update android.yml 2020-04-29 13:57:32 -03:00
Lucas Nunes
4ffb77229b
Merge pull request #65 from lucasnlm/add-italian-translation
Add Italian translation
2020-04-26 10:59:30 -03:00
Lucas Lima
f2b2b4f9af
Add Italian translation 2020-04-26 10:34:23 -03:00
Lucas Nunes
45c05855fa
Merge pull request #62 from lucasnlm/use-custom-layout-manager
Use custom layout manager
2020-04-24 13:51:56 -03:00
Lucas Lima
d01ed1ed2f
Remove nullables 2020-04-24 01:01:02 -03:00
Lucas Lima
50182fbc4b
Rename variables 2020-04-24 00:56:30 -03:00
Lucas Lima
2c86e2f91e
Disable supportsPredictiveItemAnimations 2020-04-24 00:24:40 -03:00
Lucas Lima
d3ab7dbe95
Fix test 2020-04-24 00:19:13 -03:00
Lucas Lima
c047a34dad
Fix lint 2020-04-24 00:14:52 -03:00
Lucas Lima
f0b7cf8e00
Fix lint 2020-04-24 00:07:31 -03:00
Lucas Lima
9b8716be4c
Add disclaimer to FixedGridLayoutManager 2020-04-24 00:05:09 -03:00
Lucas Lima
97044554d7
Rename variables from FixedGridLayoutManager 2020-04-24 00:04:42 -03:00
Lucas Lima
bf5422bc79
Convert FixedGridLayoutManager to kotlin 2020-04-23 23:56:35 -03:00
Lucas Lima
c5630b9c13
Centralize board 2020-04-23 13:55:52 -03:00
Lucas Lima
f79bd7bcfc
Fix glitchs 2020-04-23 12:52:40 -03:00
Lucas Lima
45fcd49ec8
Remove UnlockedHorizontalScrollView 2020-04-23 10:47:44 -03:00
Lucas Lima
800ee419e8
Add custom layout manager 2020-04-23 10:43:10 -03:00
Lucas Nunes
5c65e37806
Merge pull request #60 from lucasnlm/remove-drawable-repository
Remove drawable repository
2020-04-23 00:30:45 -03:00
Lucas Lima
f4ff5206c8
Remove drawable repository 2020-04-22 23:32:33 -03:00
Lucas Lima
5504aa99b8
Bump version 2020-04-20 00:36:20 -03:00
Lucas Lima
8ff32d70e4
Remove gradle.versions to support F-droid 2020-04-20 00:28:49 -03:00
Lucas Lima
99f2241b7c
Remove generateStubs 2020-04-17 09:31:17 -03:00
Lucas Lima
f5cc0edf40
Bump verions 2020-04-17 09:24:01 -03:00
Lucas Lima
3675f0eadd
Update gradle-wrapper.properties 2020-04-16 09:33:51 -03:00
Lucas Lima
0eef1c14d5
Update gradle-wrapper.properties 2020-04-16 09:32:54 -03:00
Lucas Lima
33f6bd78e8
Remove dynamic versionCode to support F-Droid 2020-04-16 09:06:11 -03:00
Lucas Lima
80732f875e
Remove unused image 2020-04-14 10:53:39 -03:00
Lucas Lima
0de2d9b270
Fix ... on strings 2020-04-14 10:41:49 -03:00
Lucas Lima
7c0c983681
Move proprietary code to proprietary lib 2020-04-08 09:34:28 -03:00
Lucas Nunes
9323a47610
Merge pull request #43 from lucasnlm/improve-tests
Add robolectric and improve testing
2020-04-07 20:02:03 -03:00
Lucas Nunes
cfcd9256b2
Merge pull request #45 from lucasnlm/remove-amplitude
Remove Amplitude references
2020-04-07 19:42:12 -03:00
Lucas Lima
f7b35fd97d Remove Amplitude references 2020-04-07 19:35:00 -03:00
Lucas Lima
0de579010c
Add roboletric and improve testing 2020-04-07 19:25:55 -03:00
Lucas Lima
eb92414df1
Fix drawer bug 2020-04-05 10:56:30 -03:00
Lucas Lima
2e2de890af Open first mine whatever the kind of click 2020-04-03 17:54:00 -03:00
Lucas Lima
6680401650 Fix build 2020-04-03 17:54:00 -03:00
Lucas Lima
3d1295e9b4 Update strings from crowdin 2020-04-03 17:54:00 -03:00
Lucas Lima
70d30051a6 Complete double click handling 2020-04-03 17:54:00 -03:00
Lucas Lima
8be7333155 Open area using double click 2020-04-03 17:54:00 -03:00
Lucas Lima
c881051d43
Fix style 2020-04-03 09:36:51 -03:00
Lucas Lima
f7742afbf4
Fix invalid emoji 2020-04-03 09:35:43 -03:00
Lucas Nunes
f0ded6f6e4
Merge pull request #35 from lucasnlm/open-mines-individually
Open mines individually
2020-04-02 08:57:21 -03:00
Lucas Lima
ffdafd8bb2
Add animations to settings 2020-04-01 09:10:02 -03:00
Lucas Nunes
80dd9f3ccd
Merge pull request #38 from lucasnlm/fix-tr-about-translation
Fix tr about translation
2020-04-01 08:49:19 -03:00
Lucas Lima
9c8af0da44
Fix tr about translation 2020-04-01 08:42:58 -03:00
Lucas Lima
942beb6ab0
Add new Ukrainian strings
Co-authored-by: DmitryShuba <dmitry.shuba@outlook.com>
2020-03-30 10:15:46 -03:00
Lucas Lima
77c24f9017
Use sequence on viewmodel instead of list 2020-03-28 01:06:12 -03:00
Lucas Lima
78a7d9384b
Fix open multiple areas 2020-03-28 00:32:47 -03:00
Lucas Lima
4961e60394 Add cross safe zone only for with > 9 2020-03-27 23:14:19 -03:00
Lucas Lima
c985b4e713 Make time proportional 2020-03-27 23:14:19 -03:00
Lucas Lima
20ac1635b2 Fix uneeded spaces 2020-03-27 23:14:19 -03:00
Lucas Lima
eb8a1b3564 Improvements on game logic 2020-03-27 23:14:19 -03:00
Lucas Lima
3aeefd0069 Add isCovered filter 2020-03-27 23:14:19 -03:00
Lucas Lima
0e226eb620 Make mines explode individually 2020-03-27 23:14:19 -03:00
Lucas Lima
38ee7988ba Add Russian language 2020-03-27 10:02:20 -03:00
Lucas Lima
02a65d9086
Updated About and Translators menu 2020-03-25 19:15:20 -03:00
Lucas Lima
15a5c5165c
Add German and Vietnamese translations 2020-03-25 18:47:18 -03:00
Lucas Lima
fb7cd54b62 Fix strings 2020-03-25 18:31:40 -03:00
Lucas Lima
c5c02ddf0a Fix version strings 2020-03-25 18:14:53 -03:00
Lucas Lima
b53fe4112a Update About screen and its related areas, change theme 2020-03-25 18:14:53 -03:00
Lucas Lima
eabf6f40dc Add Translators to About 2020-03-25 18:14:53 -03:00
Lucas Nunes
6109001a54
Merge pull request #32 from lucasnlm/improve-safe-area
Improve safe area. Use a circle instead of square
2020-03-25 11:44:02 -03:00
Lucas Nunes
ebd029e7ba
Update common/src/main/java/dev/lucasnlm/antimine/common/level/LevelFacade.kt 2020-03-25 11:07:43 -03:00
Lucas Lima
aa8d1f3346
Improve safe area. Use a circle instead of square 2020-03-25 10:36:03 -03:00
Lucas Nunes
00bbf59385
Merge pull request #30 from lucasnlm/add-czech-translation
Update czech translation
2020-03-24 23:55:03 -03:00
Lucas Nunes
968682029e
Merge pull request #28 from lucasnlm/add-turkish-translation
Add Turkish translation
2020-03-24 23:54:02 -03:00
Lucas Nunes
888f4157d8
Merge pull request #31 from lucasnlm/add-french-translation
Update french translation
2020-03-24 23:50:31 -03:00
Lucas Nunes
f06758b56d
Apply suggestions from code review 2020-03-24 23:48:22 -03:00
Lucas Nunes
8cb65985a7
Apply suggestions from code review 2020-03-24 23:46:29 -03:00
Lucas Lima
e7ba391924
Update french translation 2020-03-24 23:42:51 -03:00
Lucas Lima
001e1a945f
Update czech translation 2020-03-24 23:26:01 -03:00
Lucas Lima
34cc43dd10
Update chinese translation 2020-03-24 23:18:15 -03:00
Lucas Lima
448d519bcd
Add Turkish translation 2020-03-24 23:10:03 -03:00
Lucas Nunes
dd05988e54
Merge pull request #23 from lucasnlm/fix-bug-on-difficulty-converter
Fix bug on DifficultyConverter
2020-03-22 00:33:31 -03:00
Lucas Lima
4ad15f2d59
Fix bug on DifficultyConverter 2020-03-22 00:26:50 -03:00
Lucas Nunes
0ded6f3760
Merge pull request #22 from lucasnlm/add-rating-title
Add title to rating dialog
2020-03-22 00:11:22 -03:00
Lucas Lima
2fd138ef40
Add title to rating dialog 2020-03-22 00:04:59 -03:00
Lucas Lima
c20b0cbdf4
Change saving algorithm to store a limited amount 2020-03-21 23:47:40 -03:00
Lucas Lima
3ba3f7ac23
Use offset method instead of set all params 2020-03-21 11:37:53 -03:00
Lucas Lima
994cb91e27
Syntax suggar 2020-03-21 11:29:26 -03:00
Lucas Lima
1ec0a3f7e9
Remove unused import 2020-03-21 11:27:56 -03:00
Lucas Lima
c979a10c1e
Remove useless layout 2020-03-21 11:25:40 -03:00
Lucas Lima
518971615f
fix wear os build 2020-03-18 00:30:28 -03:00
Lucas Lima
166efb5c77
fix tests 2020-03-18 00:21:34 -03:00
Lucas Lima
19d700a276 fix ktlint 2020-03-18 00:16:43 -03:00
Lucas Lima
b91ae8f452 Revert I-prefixed classes 2020-03-17 23:59:25 -03:00
Lucas Lima
5abc487f21 Moved IPreferencesRepository to a file 2020-03-17 23:59:25 -03:00
Lucas Lima
e3a330762e Remove unused file 2020-03-17 23:59:25 -03:00
Lucas Lima
fa1c421156 Rename FieldViewHolder to AreaViewHolder 2020-03-17 23:59:25 -03:00
Lucas Lima
b7888fd772 Add tests to converters and other small improvements 2020-03-17 23:59:25 -03:00
Lucas Lima
9bb0adf592 Remove newGameId method 2020-03-17 23:59:25 -03:00
Lucas Lima
5bd72333dd Renamed DifficultyPreset to Difficulty only 2020-03-17 23:59:25 -03:00
Lucas Lima
63e6750b0f Moved classes from data to models folder 2020-03-17 23:59:25 -03:00
Lucas Lima
2effaddc15 Rename LevelSetup to Minefield 2020-03-17 23:59:25 -03:00
Lucas Lima
0c8ad69c6b Rename GameEvent to Event 2020-03-17 23:59:25 -03:00
Lucas Lima
a6aa78911f Rename and moved Events from Analytics 2020-03-17 23:59:25 -03:00
Lucas Lima
b3ee19a774 Rename GameScore and GameStatus 2020-03-17 23:59:25 -03:00
Lucas Lima
412cb5e99f Remove quit confirm, except for Instant App 2020-03-16 19:35:44 -03:00
Lucas Lima
93b6dc6f6c Remove %s from strings 2020-03-10 23:50:13 -03:00
Lucas Lima
46e922e3fc Improve versions handling 2020-03-10 23:24:05 -03:00
Lucas Lima
241584af27 Fix file provider name 2020-03-10 21:17:59 -03:00
Lucas Lima
a3092ab8d6
Update version 2020-03-10 21:06:34 -03:00
Lucas Lima
6e2f9eed42
Improve install button color 2020-03-10 20:59:10 -03:00
Lucas Lima
5098450e8f
Fix scroll 2020-03-10 20:23:32 -03:00
Lucas Lima
fa6490c764
Make recyclerview optional 2020-03-10 10:07:23 -03:00
Lucas Lima
b0ff37b8e3
Fix instant app install color on dark theme 2020-03-09 20:51:14 -03:00
Lucas Nunes
e79902d58e
Merge pull request #8 from lucasnlm/fix-instant-app-build
Fix instant app build
2020-03-08 19:11:51 -03:00
Lucas Lima
4f31ef9b77
Move menu to app and add install button to it 2020-03-08 18:13:57 -03:00
Lucas Lima
ea1514ea41
Add instant app install button 2020-03-08 17:48:44 -03:00
Lucas Lima
67ace9fb7d
Fix ripple effect on numbered squares 2020-03-08 15:46:47 -03:00
Lucas Lima
0103e3f0c8
Add helper extension to None mark 2020-03-08 15:37:54 -03:00
Lucas Lima
c80ccc2afd
Fix open multiple bug 2020-03-08 15:30:56 -03:00
Lucas Lima
ca5f8c380b
Fix ktlint imports 2020-03-08 14:44:30 -03:00
Lucas Lima
574f88b96d Fix ktlint 2020-03-08 14:30:43 -03:00
Lucas Lima
cbd58e9ddc Update version code 2020-03-08 14:30:43 -03:00
Lucas Lima
e1986f7050 Remove unused colors 2020-03-08 14:30:43 -03:00
Lucas Lima
149c4f6146 Add test to ambient mode 2020-03-08 14:30:43 -03:00
Lucas Lima
87a2fbde04 Fix paint and add test 2020-03-08 14:30:43 -03:00
Lucas Lima
5efa5b9d58 Fix typo 2020-03-08 14:30:43 -03:00
Lucas Lima
08821cb622 Fix dialog text color 2020-03-08 14:30:43 -03:00
Lucas Lima
4df99c45da Add share action to menu 2020-03-08 14:30:43 -03:00
Lucas Lima
308d34b1b6 Add share feature 2020-03-08 14:30:43 -03:00
Lucas Lima
f84dc2179d Add new GameOver and Victory dialogs 2020-03-08 14:30:43 -03:00
Lucas Lima
a662044850 New screens 2020-03-08 14:30:43 -03:00
Lucas Lima
0fc2256554
Add source code button to about 2020-03-07 17:51:28 -03:00
Lucas Lima
2dc22f358f
Update app version 2020-03-03 09:12:18 -03:00
Lucas Lima
99f168da8e
Fix instant win with long press bug 2020-03-03 09:10:58 -03:00
Lucas Lima
c8dfa56056
Add PurposefulNone behavior 2020-03-02 20:32:04 -03:00
Lucas Lima
9825ed6159
Fix long press issue with auto-flag 2020-03-02 01:02:17 -03:00
Lucas Lima
eede5b9494
Make flags optional to victory 2020-03-02 00:47:33 -03:00
Lucas Lima
70e4d92c21
Release 6.0.1 2020-02-22 00:12:02 -03:00
Lucas Lima
306415a5dc
Add clock test 2020-02-09 11:10:30 -03:00
Lucas Lima
2726ec66a4
Fix assistant bug 2020-02-09 10:27:35 -03:00
Lucas Lima
fa79d3eac2
First open source release 2020-02-06 22:50:47 -03:00