Code Monkey home page Code Monkey logo

risk's People

Contributors

cvu0014 avatar jeffsandov6 avatar kaydabs avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kaydabs tubbz-alt

risk's Issues

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.

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

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

Battle Scenarios

War ends when attacker units == 1 OR defender units == 0, same with battle

We also need to handle the dice battle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.