School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,099 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,031 people online right now. Registration is fast and FREE... Join Now!




RISK game

 

RISK game, I don't know anything about this game. I just need to know what do

dzulfadli_112

13 Oct, 2009 - 06:41 AM
Post #1

New D.I.C Head
*

Joined: 20 Sep, 2009
Posts: 3


My Contributions
Hi all,

I need help

I never played a RISK game before, so practically I know nothing about this game.

I don't need a code but I need to know what the game is all about.

I also need to know what are the things that I need to put in my program to make this game a playable, yet correct compared to the real one.

examples of functions are welcome!!!

thanks for your time.....

User is offlineProfile CardPM
+Quote Post


janne_panne

RE: RISK Game

13 Oct, 2009 - 07:27 AM
Post #2

D.I.C Addict
****

Joined: 9 Jun, 2009
Posts: 531



Thanked: 107 times
My Contributions
I recommend using google/wikipedia on this kind of questions:

http://en.wikipedia.org/wiki/Risk_(game)

Few classes that came into my mind instantly (without playing the game but after reading a bit about it):
- Territory
- Continent
- Player
- Army
- Unit

Then of course you need User Interface to be able to actually see what's happening. If you don't allow Computer opponents, then you wouldn't have to write Artificial Intelligence at all which would reduce the work a lot and maybe is recommended. But of course, it's good to write the architecture so that it's not impossible to add AI later on.
User is offlineProfile CardPM
+Quote Post

Theaegd

RE: RISK Game

13 Oct, 2009 - 12:41 PM
Post #3

D.I.C Regular
***

Joined: 15 Aug, 2009
Posts: 309



Thanked: 4 times
My Contributions
wow.
first play the game you wish to clone!
Then learn to program, personally C# with XNA is best.
Find a nice libary and engine. A level editor could help to.
Do some research, google is your best freind!
what things do you need to put in it?? ALOT OF THINGS!
hours upon hours of brain crunching programing is what it will take! have fun
User is online!Profile CardPM
+Quote Post

dzulfadli_112

RE: RISK Game

13 Oct, 2009 - 08:26 PM
Post #4

New D.I.C Head
*

Joined: 20 Sep, 2009
Posts: 3


My Contributions
this is some new update i got from my instructor...

the game should be a one-on-one battle...in one territory...
whoever beats the other wins...

i should say this...this game supposed to be in c++ language...
so nothing too fancy...

there is also only one map, three options, play until death, until one of the army reach certain point, or withdraw...

I also didn't know how to create the function for attack and defense...

all I know is that it uses 1 + rand() % 6...to get the number...
but how do we know who wins the attack???

I'm sorry for having so many questions...I'm not an American, I never played this game in my entire life...

thanks for any opinions...
User is offlineProfile CardPM
+Quote Post

modi123_1

RE: RISK Game

14 Oct, 2009 - 05:44 AM
Post #5

Suiter #2
Group Icon

Joined: 12 Jun, 2008
Posts: 1,835



Thanked: 80 times
Dream Kudos: 150
My Contributions
Well - google the rules then!

Here's a link that can help:
http://lmgtfy.com/?q=risk+rules

It tends to be when the attacker and defender square off and roll their dice (the number of dice are variable depending on the situation) The higher dice win.. ties to the defender.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 12:10PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month