risk's People
risk's Issues
Add JavaDoc comments to classes/methods
Last update to card (Not too important)
Occupied territories: If any of the 3 cards you trade in shows the picture of a territory you occupy, you receive 2 extra armies. You must place both those armies onto that particular territory.
That means that for each card, we must also assign to it, a territory name.
When a user turns in cards, we have to see if they match any of their owned territories.
Add Amazon s3 replay system
Add undo action feature
Reformat displayContinents() method
Should display all of what it currently has as well as the number of soldier on the territory; format so all of it is aligned with proper columns
Hardcode territories and countries in
add git tag
Allocate pieces based on how many territories player has at the start of each turn
Finish the initial selection of territories
Once all of the territories have been chosen, we, as of now, jump straight into the turns but we are skipping this part:
If 3 are playing, each player counts out 35 Infantry.
If 4 are playing, each player counts out 30 Infantry.
If 5 are playing, each player counts out 25 Infantry.
If 6 are playing, each player counts out 20 Infantry.
For 2, let's just default to 35 as well.
So, rather than jumping straight into turns after having run out of territories, we should instead let the condition be, when all players have assigned all of their initial infantry to territories they own, that's when we then jump into the turns
Do fortification phase
Draws a dependency on the initializing the pieces for each board so we can see how to do it for this as well
Add adjacency arrays to the territories to see which territories it can attack.
Battle Scenarios
War ends when attacker units == 1 OR defender units == 0, same with battle
We also need to handle the dice battle
Develop Continent class for setup
Should be using a HashMap to contain the territories inside the Continent
Allocate pieces for the initial turns to each territory
Refactor the code, specifically the Turns class
The turns class has all of the different phases of the turns implemented into it. We should add a class for fortifying/assigning units, and another for the battle phase.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.