Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
166c3f3
6.01
androminionfan Dec 28, 2015
5bf7155
exchange: ordered and if pile is empty you can't exchange
androminionfan Dec 28, 2015
1f38e3a
princed travellers left the play by exchanging
androminionfan Dec 28, 2015
e8b0d97
Androminion can handle events given by the App "Jack of all Dominion"
androminionfan Dec 28, 2015
bf8ba4b
Reworking logic to clarify meaning of game.drawToHand() and game.draw…
dominionator Dec 28, 2015
e8018f7
Implementing -1 Card Token.
dominionator Dec 29, 2015
e5d75c2
Implmenting -1 Coin Token. Correcting Bridge Troll attack effect order.
dominionator Dec 29, 2015
183579a
Modified Event pile view in UI to separate location below Supply.
dominionator Dec 29, 2015
b03e264
Implementing Raze (Adventures).
dominionator Dec 30, 2015
3bf7020
Fixes for Artificer.
dominionator Dec 30, 2015
43c0eef
Fixes for Messenger.
dominionator Dec 30, 2015
2baf0a6
Fix for Alms: adding own Player handler and UI text.
dominionator Dec 30, 2015
9de61e3
Adding UI messing indiciating which card is having you play treasure …
dominionator Dec 31, 2015
6ec2c1b
Fixing Dungeon cost.
dominionator Dec 31, 2015
1b7bf56
Amulet: fixing Player errors to pick valid choices.
dominionator Dec 31, 2015
aa218da
Fixing Caravan Guard cost.
dominionator Dec 31, 2015
828856d
Fix for Caravan Guard: preventing Cards played during another player'…
dominionator Dec 31, 2015
8be9250
Implemented Adventures player supply pile tokens. UI is still a work …
dominionator Jan 1, 2016
5829f3f
Adding framework for calling cards from Tavern mat.
dominionator Jan 2, 2016
01e8e3e
Adding support for calling cards that call after an action is resolve…
dominionator Jan 2, 2016
a856e85
Implmenting Royal Carriage.
dominionator Jan 2, 2016
904facb
Making called cards appear not shaded in UI.
dominionator Jan 2, 2016
035926e
Can call cards at start of turn. Still missing interleaving those wit…
dominionator Jan 3, 2016
24d3946
Implmenting Adventures event: Ball
dominionator Jan 3, 2016
4e14c06
Adding changes from @androminionfan fork
dominionator Jan 5, 2016
88e1f76
Implementing Mission
dominionator Jan 5, 2016
b07d156
Relic
dominionator Jan 6, 2016
93b4140
Implementing Quest
dominionator Jan 8, 2016
c847d88
Sorting for Tavern Mat (Miser Coppers last).
dominionator Jan 9, 2016
7c7b788
Page/Peasant upgrade card fixes. Red Shelters.
dominionator Jan 10, 2016
7ae5963
Save Event fixes.
dominionator Jan 10, 2016
245fc15
Travelling Fair fixes
dominionator Jan 10, 2016
7efa364
Fix Scouting Party English Name.
dominionator Jan 10, 2016
5ef4ce8
Pilgrimage: enforcing differently named card selections in UI.
dominionator Jan 10, 2016
e77fe8c
VDom support for random sets with Events.
dominionator Jan 13, 2016
17546c5
Random with selectable sets and random events.
dominionator Jan 16, 2016
74d5048
Player token color indicators
dominionator Jan 16, 2016
1c46ac1
Finishing token UI.
dominionator Jan 16, 2016
78c3b27
WIP: Stash Promo Card.
dominionator Jan 18, 2016
054590b
Stash Promo card.
dominionator Jan 19, 2016
08560d2
Improved Stash reshuffle AI.
dominionator Jan 19, 2016
7f3474d
Random Alchemy games use recommended card numbers.
dominionator Jan 19, 2016
128a406
Adding Bane card message to long press card view.
dominionator Jan 19, 2016
fbe6117
Fixed download images of basic supply cards.
dominionator Jan 19, 2016
98c2b9a
Summon Promo card.
dominionator Jan 20, 2016
2994c3e
Interleave Reserves with other start of turn effects.
dominionator Jan 21, 2016
b871b00
Swamp Hag / Haunted Woods correct effect tracking.
dominionator Jan 22, 2016
47eaaa1
Fixed multiple duration modifier cards staying out with Hireling/Cham…
dominionator Jan 22, 2016
3338baf
Inheritance buying and UI (Estates don't yet function like set aside …
dominionator Jan 23, 2016
c81f53c
Adding messages around buying events.
dominionator Jan 23, 2016
0ddc2e4
Changing shaded cards in UI for Bonfire and Pilgrimage.
dominionator Jan 24, 2016
8194349
Inheritance: Moved methods from ActionCard and ActionCardImpl down to…
dominionator Jan 25, 2016
eeebaf1
Inheritance: Creating isAction method on Card interface.
dominionator Jan 25, 2016
6adb27d
Reverting classpath.
dominionator Jan 25, 2016
f03bded
Inheritance: removing references to instanceof ActionCard.
dominionator Jan 25, 2016
fb93bea
Inheritance: Moving duration card methods to Card interface.
dominionator Jan 25, 2016
f07d9a6
Inheritance: removing uncessary references to DurationCard interface.
dominionator Jan 25, 2016
d6fc2ab
Inheritance: made isAttack() player relative.
dominionator Jan 25, 2016
8e69c8a
Inheritance: Making isKnight() player specific
dominionator Jan 25, 2016
5a1b160
Inheritance: making isRuins() player specific
dominionator Jan 25, 2016
bc86bfc
Inheritance: making isReserve() and isTraveller() player specific
dominionator Jan 25, 2016
63ec172
Inheritance: Making isAction player specific.
dominionator Jan 26, 2016
c0b423b
Inheritance: Removing uneeded references to ActionCard class.
dominionator Jan 26, 2016
8845a47
Inheritance: starting method for playing Victory card.
dominionator Jan 26, 2016
f4f55c2
Bug: fixing Stash AI for when deck shuffled normally.
dominionator Jan 27, 2016
73d64bb
Inheritance: inital work on inheriting play abilities.
dominionator Jan 27, 2016
6c46a37
Inheritance: enabling Inherited when-buy abilities
dominionator Jan 28, 2016
6df9e29
Inheritance: Adding Inherited when-gain abilities.
dominionator Jan 28, 2016
e0df23b
Inheritance: Adding inherited "While this is in play..." abilities.
dominionator Jan 28, 2016
2670f20
Inheritance: Making sure correct card ability name gets passed to UI.
dominionator Jan 29, 2016
d9fdd04
Inheritance: Exchange ability for inherited traveller.
dominionator Jan 29, 2016
5e030be
Inheritance: Adding inherited "when Attack played" abilities
dominionator Jan 29, 2016
ef34a65
Bug fixes/enhancements
dominionator Jan 30, 2016
6c8a44b
Fixing inaccurate card descriptions.
dominionator Jan 30, 2016
c8e69c9
Adding German translations.
dominionator Jan 30, 2016
61c60da
Teacher: Adding token you are moving to UI message.
dominionator Jan 30, 2016
1655cef
Inheritance: Adding inherited non-attack reaction abilities.
dominionator Jan 30, 2016
f8322bf
Inheritance: Prince, Treasure Map, Crossroads, Masquerade, when-trash…
dominionator Jan 31, 2016
8526857
Inheritance: Enabling calling inherited reserve cards.
dominionator Jan 31, 2016
9813e40
Inheritance: Works when Throning, hitting with Herald or Golem.
dominionator Jan 31, 2016
18f3fd9
Inheritance: Made Ruins inheritable.
dominionator Jan 31, 2016
076e64b
Version 6.04
dominionator Jan 31, 2016
e0c66bd
Fixing UI string line breaks for What's new text.
dominionator Jan 31, 2016
cf5ce53
Raze: fix for crash when Raze has no cards to look at.
dominionator Feb 1, 2016
ea97c2f
Bug: Fixed AI choosing Knight card not on top of stack.
dominionator Feb 1, 2016
04d4480
Bug: fixed interleaving duration effects with Guide, Ratcatcher, & Tr…
dominionator Feb 1, 2016
7c0a905
Random Alchemy rate lowe.
dominionator Feb 1, 2016
e764378
Direct option to include Shelters/Colony/Plat.
dominionator Feb 1, 2016
065b89d
Making Page and Peasant upgrades appear separately.
dominionator Feb 2, 2016
953bfeb
Allowing Shelters to be passed in correctly from Jack of All Dominion
dominionator Feb 2, 2016
25d5036
Adding timer to show total game time at end of game.
dominionator Feb 3, 2016
a276caa
Bug: Fixing it so you can only select events during a buy.
dominionator Feb 3, 2016
3d84912
Bug: fixing so tokens can go on empty piles with Events.
dominionator Feb 4, 2016
30670a6
Making coin indicator show potions correctly.
dominionator Feb 5, 2016
aa281cb
Bug: Fixing duplicate able to duplicate cards costing potion.
dominionator Feb 6, 2016
3ed3ce8
Version to 6.05
dominionator Feb 7, 2016
a83b748
Bug: Fixed stables to work with -1 card token.
dominionator Feb 9, 2016
3cbf37d
Bug: Fixing draw-to-X cards with -1 Card token.
dominionator Feb 9, 2016
271d1f4
Bug: Fixing Urchin trash for Mercenary option not triggering sometimes.
dominionator Feb 9, 2016
b80e752
Bug: Fixing player supply tokens to work correctly on Knights and Rui…
dominionator Feb 9, 2016
3c96a0f
Making exchange log message show card being exchanged.
dominionator Feb 10, 2016
f5b69a0
Black Market UI doesn't reflect card order anymore.
dominionator Feb 10, 2016
d1f6940
Gear: Fixing duration effect to add both cards atomically.
dominionator Feb 10, 2016
3a0e3d4
Spanish: Game types and card names for Dark Ages, Guilds and Adventures
dominionator Feb 13, 2016
5389df5
Bug: Fixing Band of Misfits not emulating tokens on pile
dominionator Feb 13, 2016
20bcaec
Bug: Fixing seaway +1Buy token not getting put on ruins/knights piles…
dominionator Feb 13, 2016
b01c16b
Spanish: Promo, Guilds, and Event card descriptions.
dominionator Feb 14, 2016
470c300
Spanish: adding Dark Ages card descriptions
dominionator Feb 14, 2016
7c89882
Spanish: Hinterlands cards
dominionator Feb 15, 2016
af5daa3
Spanish: Adventures cards
dominionator Feb 15, 2016
46c6c3c
Spanish: UI strings, server strings, preferences, dialog strings, ach…
dominionator Feb 16, 2016
10f5c53
Spanish: minor fixes to translations
dominionator Feb 16, 2016
65cadd9
Spanish: Removing extra colon from spending coin token message.
dominionator Feb 17, 2016
84227e1
Version to 6.06
dominionator Feb 17, 2016
30d72da
Spanish: Changes to card names for Scouting party, Taxman.
dominionator Feb 18, 2016
6f8bb6d
added german translations
honsberg Feb 18, 2016
edf25e9
added german translations
honsberg Feb 18, 2016
7a9abc3
Changing Plat/Colony inclusion option from "Random" option to be call…
dominionator Feb 19, 2016
440be02
Merge pull request #1 from honsberg/patch-1
dominionator Feb 19, 2016
c5f81c0
Merge pull request #2 from honsberg/patch-2
dominionator Feb 19, 2016
cc812b7
German: +1 Buy token icon letter
dominionator Feb 19, 2016
8b06492
Journey Token Icon change
dominionator Feb 19, 2016
0fa10b3
Fixing chance of including Shelters and Plat/Colony for more/less tha…
dominionator Feb 22, 2016
7b70ecf
Gear: Fixing Null reference issue when setting aside zero cards.
dominionator Feb 27, 2016
cacef4a
Added files via upload
honsberg Feb 28, 2016
59160c6
Merge pull request #2 from honsberg/honsberg
honsberg Feb 28, 2016
e899f23
Merge pull request #1 from honsberg/Adventures-own
honsberg Feb 28, 2016
ac19061
Merge pull request #3 from honsberg/Adventures-own
honsberg Feb 28, 2016
9450819
Merge pull request #4 from honsberg/honsberg
honsberg Feb 28, 2016
0ceb369
better translation for spy
honsberg Feb 28, 2016
73dc38d
better text for spy
honsberg Feb 28, 2016
e9004db
better text for spy
honsberg Feb 28, 2016
9d0a951
Delete README.MD
honsberg Feb 29, 2016
1c28794
Revised and updated French translation.
dominionator Mar 2, 2016
1c96797
Create Readme.md
honsberg Mar 4, 2016
d516710
Added files via upload
honsberg Mar 4, 2016
7e90c7e
Added files via upload
honsberg Mar 4, 2016
3454ae8
Delete Readme.md
honsberg Mar 4, 2016
f3064f2
removed card names from text.
honsberg Mar 4, 2016
fc2c032
Added files via upload
honsberg Mar 4, 2016
5b43353
Merge pull request #5 from dominionator/Adventures-own
honsberg Mar 4, 2016
341fec9
Merge pull request #6 from honsberg/master
dominionator Mar 9, 2016
a35e048
XML resource format fix.
dominionator Mar 9, 2016
e3812fa
Bump version to 6.07
dominionator Mar 9, 2016
940a9a3
Merge pull request #6 from dominionator/Adventures-own
honsberg Mar 11, 2016
c513624
better text for tokens
honsberg Mar 12, 2016
da79d97
tisch vs Vorrat
honsberg Mar 12, 2016
6846e28
Fixing message for multiple coins on a card.
dominionator Mar 15, 2016
f5c21f2
better text for hero
honsberg Mar 21, 2016
8bab6c4
better text for watchtower
honsberg Mar 21, 2016
a397fa4
Merge pull request #7 from honsberg/master
dominionator Mar 23, 2016
4c68673
Merge pull request #8 from dominionator/Adventures-own
dominionator Mar 23, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
142 changes: 71 additions & 71 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
[Download latest Androminion.apk](https://github.com/mehtank/androminion/releases/download/5.0.0/Androminion.apk "Androminion.apk")

1. About this project

This is a fork of androminion by Ankur Metah, originated from google code
project "androminion", an android based implementation of the game
"Dominion" by Rio Grande Games.

This fork was originally based on version r561 (2012-08-02) of the
official project and has since been updated up to r638 (2012-08-31).

Goals of this fork are:
- A better User Interface, first for smartphones and later for tablets
(done)
- Better AI players, possibly using a neural network
(work in progress)
- Possibly a separate server and multiplayer functionality
(later)
- And of course some bug fixing and code commenting
(partly done)

Licensed under LGPL: http://www.gnu.org/licenses/lgpl-3.0.html

2. Branching strategy

------------------------------------------------------------------------------
master:
latest stable version, ready for production
------------------------------------------------------------------------------
^
|
------------------------------------------------------------------------------
develop:
contains changes in progress, may not be ready for production
will be marged into master when in a stable, tested state
------------------------------------------------------------------------------
^ ^ ^ ^ ^
| | | | |
------------------------------------------------------------------------------
topic branches (e.g. dev-ui or dev-bot):
for working on a feature or bug fix, will then be merged into develop
------------------------------------------------------------------------------

See also:
http://stackoverflow.com/questions/2428722/git-branch-strategy-for-small-dev-team

3. Import newest changes from Google Code SVN

3.1 Prepare SVN synchronisation with SVN metadata
(Do only once after cloning bitbucket repository)

git checkout master
git update-ref refs/remotes/trunk origin/master
git svn init http://androminion.googlecode.com/svn/trunk/
git svn fetch

3.2 Copy newest changes in SVN to bitbucket

git checkout master
git svn fetch (or git svn rebase?)
git push master

3.3 Copy newest changes in git/bitbucket back to SVN

git checkout master
git svn dcommit
--commit-url https://androminion.googlecode.com/svn/trunk/
--username=google.user@gmail.com

Merging seems only to work properly with the master branch, so this is
used for synchronizing svn and git.
[Download latest Androminion.apk](https://github.com/mehtank/androminion/releases/download/5.0.0/Androminion.apk "Androminion.apk")
1. About this project
This is a fork of androminion by Ankur Metah, originated from google code
project "androminion", an android based implementation of the game
"Dominion" by Rio Grande Games.
This fork was originally based on version r561 (2012-08-02) of the
official project and has since been updated up to r638 (2012-08-31).
Goals of this fork are:
- A better User Interface, first for smartphones and later for tablets
(done)
- Better AI players, possibly using a neural network
(work in progress)
- Possibly a separate server and multiplayer functionality
(later)
- And of course some bug fixing and code commenting
(partly done)
Licensed under LGPL: http://www.gnu.org/licenses/lgpl-3.0.html
2. Branching strategy
------------------------------------------------------------------------------
master:
latest stable version, ready for production
------------------------------------------------------------------------------
^
|
------------------------------------------------------------------------------
develop:
contains changes in progress, may not be ready for production
will be marged into master when in a stable, tested state
------------------------------------------------------------------------------
^ ^ ^ ^ ^
| | | | |
------------------------------------------------------------------------------
topic branches (e.g. dev-ui or dev-bot):
for working on a feature or bug fix, will then be merged into develop
------------------------------------------------------------------------------
See also:
http://stackoverflow.com/questions/2428722/git-branch-strategy-for-small-dev-team
3. Import newest changes from Google Code SVN
3.1 Prepare SVN synchronisation with SVN metadata
(Do only once after cloning bitbucket repository)
git checkout master
git update-ref refs/remotes/trunk origin/master
git svn init http://androminion.googlecode.com/svn/trunk/
git svn fetch
3.2 Copy newest changes in SVN to bitbucket
git checkout master
git svn fetch (or git svn rebase?)
git push master
3.3 Copy newest changes in git/bitbucket back to SVN
git checkout master
git svn dcommit
--commit-url https://androminion.googlecode.com/svn/trunk/
--username=google.user@gmail.com
Merging seems only to work properly with the master branch, so this is
used for synchronizing svn and git.
4 changes: 2 additions & 2 deletions androminion/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mehtank.androminion"
android:versionCode="600"
android:versionName="6.00" >
android:versionCode="607"
android:versionName="6.07" >

<uses-sdk
android:minSdkVersion="7"
Expand Down
Binary file modified androminion/libs/vdom.jar
Binary file not shown.
15 changes: 15 additions & 0 deletions androminion/res/drawable/circulartoken.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval" >

<stroke
android:width="2dp"
android:color="#000000" />

<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp" />

<solid android:color="#ffffff" />
</shape>
4 changes: 2 additions & 2 deletions androminion/res/drawable/journeytoken.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

<stroke
android:width="2dp"
android:color="#006600" />
android:color="#6e2d21" />

<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp" />

<solid android:color="#32cd32" />
<solid android:color="#c7704e" />
</shape>
16 changes: 16 additions & 0 deletions androminion/res/drawable/rectangulartoken.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >

<stroke
android:width="2dp"
android:color="#000000" />

<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp" />

<solid android:color="#ffffff" />

</shape>
17 changes: 17 additions & 0 deletions androminion/res/drawable/stashborder.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android" >

<stroke
android:width="2dp"
android:color="@color/stashBorder" />

<padding
android:bottom="3dp"
android:left="3dp"
android:right="3dp"
android:top="3dp" />

<corners android:radius="2dp" />

<solid android:color="@android:color/transparent" />

</shape>
22 changes: 22 additions & 0 deletions androminion/res/drawable/thinstashborder.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android" >

<stroke
android:width="2dp"
android:color="@color/stashBorder" />

<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp" />

<!--
Corners get overlay from background, making it ugly.
Could be fixed by creating a seperate border definition
for every card background color type I guess.
-->
<corners android:radius="0dp" />

<solid android:color="@android:color/transparent" />

</shape>
Loading