Now a player can deposit and withdraw from bank
A player can deposit and withdraw from bank
Now a player can deposit and withdraw from bank;
Now a general has prestige and he can accept or reject a player's
command based on prestige.
Now a player can deposit and withdraw from bank;
Now a general have prestige and can accept or reject your command based
on your prestige to the general
Added update() function to Agent. Takes a Player and GameBoard as
parameters, allowing agent to make decisions based on the current state
of both.
updated building placement and testing
select prototype
added deselect
testing player, added functionality for select and deselct
Merge branch 'backend-dev-units' of https://github.com/gtkishi/Project-4x.git into backend-dev-units
Added Merchant & Goods
Recoded Barracks
Added documentation to several classes. Added some basic resource
generating buildings (Farm, LumberMill, and mine), they have not yet
been implemented, will implement after project has been merged and
restructured.
Removed resourceAmount and all resource regeneration features from Tile
class, since it is now handled by Resources class
Noticed that Resources had a Stone variable, but it wasn't used....
which would cause issues when trying to mine stone (I guess we could
have gold for everything, but we don't want to be donald trump and have
a giant gold bar of a hotel). So I made sure that it was implemented.
Improved prestige system
Added documentation to Resources, noticed that resource distribution was
putting trees in the water... someone reorderd Terrain.java which messed
it up, set the order back so that it should work normally.
Merge branch 'backend-dev-units' of
https://github.com/CSc436/Project-4x.git into backend-dev-units
added more documentation, found lovely feature that made all players
share the same resources due to static variables...
Implemented unit time production method in Unit, updated documentation.
Found another static resources reference (I think we have a commie among
us....)