Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: MWIF Game Interface Design

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> World in Flames >> RE: MWIF Game Interface Design Page: <<   < prev  22 23 [24] 25 26   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: MWIF Game Interface Design - 6/15/2007 11:10:59 AM   
Froonp


Posts: 7995
Joined: 10/21/2003
From: Marseilles, France
Status: offline
quote:

ORIGINAL: Shannon V. OKeets

quote:

ORIGINAL: Incy
can't you just have the "event" set a flag, and then when the correct time in sequence of play comes, the game engine checks the status of the flag?

Yes, that is what I meant by splitting this US Entry Action into 2 parts: (I) the Japanese player makes the decision and (II) the consequences of that decision are implemented later.

I could have the implementation delayed until just after US Entry in the End of Turn sequence. I think that does what Patrice wants, in that the US player does not gain the benefit of the associated die roll for US Entry until then, nor can he 'undo' the Action during the same turn by choosing to Reopen the Burma Road.

I still find having the decision (part I) locked into the sequence of play (during the lending phase) desirable, because it serves as a reminder to the Japanese player and, more importantly, I do not need code to monitor whether the Japanese player has just decided (in the middle of who knows what) that he wants to Close the Burma Road.

I think that you're right, and that it is probably the best way to do this.
Congratulations !


(in reply to Shannon V. OKeets)
Post #: 691
RE: MWIF Game Interface Design - 6/15/2007 12:15:02 PM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline
Eventually we work our way around to solutions for these little things.

=======================

This week I am gathering into one source code module the disparate pieces of code concerning DOW.

Two days a go I had this epiphany about how game phases should be coded. Instead of having a simple variable record the current phase, there should be an entire 'Object' (as in object oriented programming) for each phase. Each phase/object should have initialization, process, and termination routines as well as associated variables just used during the phase. For the DOW Phase, there are subphases, so I added another routine for changing from one DOW subphase to the next.

I have only implemented this structure for the DOW phase, though it is how it should be done for all the phases in the game. When I get around to the code for declaring Vichy France, I will apply the same structure (the Vichy France Phase has quite a few subphases). I don't know if it is worth the bother to transform all the phases into Objects - if the code works, I'll leave it alone. But when the code is confusing, this transformation into an Object certainly clarifies everything (that has been my experience with the DOW code).

_____________________________

Steve

Perfection is an elusive goal.

(in reply to Froonp)
Post #: 692
RE: MWIF Game Interface Design - 6/15/2007 7:58:03 PM   
Froonp


Posts: 7995
Joined: 10/21/2003
From: Marseilles, France
Status: offline
quote:

ORIGINAL: Shannon V. OKeets
I have only implemented this structure for the DOW phase, though it is how it should be done for all the phases in the game. When I get around to the code for declaring Vichy France, I will apply the same structure (the Vichy France Phase has quite a few subphases). I don't know if it is worth the bother to transform all the phases into Objects - if the code works, I'll leave it alone. But when the code is confusing, this transformation into an Object certainly clarifies everything (that has been my experience with the DOW code).

For the Vichy code, you'll have to write it from scratch I believe as Vichy was not implemented in CWiF .

(in reply to Shannon V. OKeets)
Post #: 693
RE: MWIF Game Interface Design - 6/15/2007 9:29:29 PM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline

quote:

ORIGINAL: Froonp

quote:

ORIGINAL: Shannon V. OKeets
I have only implemented this structure for the DOW phase, though it is how it should be done for all the phases in the game. When I get around to the code for declaring Vichy France, I will apply the same structure (the Vichy France Phase has quite a few subphases). I don't know if it is worth the bother to transform all the phases into Objects - if the code works, I'll leave it alone. But when the code is confusing, this transformation into an Object certainly clarifies everything (that has been my experience with the DOW code).

For the Vichy code, you'll have to write it from scratch I believe as Vichy was not implemented in CWiF .

There actually is a lot of code (~1000 lines) related to Vichy France already in the program. I will start by making the declaration of Vichy France a Phase Object with a fixed set of subphases. Then I will transfer the existing code into those subphases. For example, there is code related to: returning French units not in French possessions to base, rolling dice to determine which French possessions go Vichy versus Free French, selecting the new home country, and so forth.

_____________________________

Steve

Perfection is an elusive goal.

(in reply to Froonp)
Post #: 694
RE: MWIF Game Interface Design - 6/15/2007 10:30:03 PM   
lomyrin


Posts: 3741
Joined: 12/21/2005
From: San Diego
Status: offline
There were only a few aspects of the VIchy stuff that was not implemented or functioning correctly in the latest CWiF.

Lars

(in reply to Shannon V. OKeets)
Post #: 695
RE: MWIF Game Interface Design - 6/18/2007 12:07:48 AM   
c92nichj


Posts: 440
Joined: 1/14/2005
Status: offline

quote:

ORIGINAL: lomyrin

There were only a few aspects of the VIchy stuff that was not implemented or functioning correctly in the latest CWiF.

Lars


I had a lot of issues with Vichy when playing the CWiF version.

(in reply to lomyrin)
Post #: 696
RE: MWIF Game Interface Design - 6/18/2007 2:25:51 AM   
lomyrin


Posts: 3741
Joined: 12/21/2005
From: San Diego
Status: offline

quote:

ORIGINAL: c92nichj


quote:

ORIGINAL: lomyrin

There were only a few aspects of the VIchy stuff that was not implemented or functioning correctly in the latest CWiF.

Lars


I had a lot of issues with Vichy when playing the CWiF version.


Among the problems were how to place the surviving French units inside Vichy and that the Vichy units were later free to leave Metro Vichy into Occupied France etc. Also the Dakar Mil showed up in the CW force pool.
The rolls for whether they would fight or not when facing Allied units did not fucntion.

Lars

(in reply to c92nichj)
Post #: 697
RE: MWIF Game Interface Design - 6/18/2007 5:01:01 AM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline

quote:

ORIGINAL: lomyrin


quote:

ORIGINAL: c92nichj


quote:

ORIGINAL: lomyrin

There were only a few aspects of the VIchy stuff that was not implemented or functioning correctly in the latest CWiF.

Lars


I had a lot of issues with Vichy when playing the CWiF version.


Among the problems were how to place the surviving French units inside Vichy and that the Vichy units were later free to leave Metro Vichy into Occupied France etc. Also the Dakar Mil showed up in the CW force pool.
The rolls for whether they would fight or not when facing Allied units did not fucntion.

Lars


Thanks for the information.
==========
In going through the DOW subphases I have had to change over half of that code to bring it into line with the sequence of play as defined in RAW.

_____________________________

Steve

Perfection is an elusive goal.

(in reply to lomyrin)
Post #: 698
RE: MWIF Game Interface Design - 6/19/2007 4:00:39 AM   
c92nichj


Posts: 440
Joined: 1/14/2005
Status: offline

quote:

ORIGINAL: lomyrin

Among the problems were how to place the surviving French units inside Vichy and that the Vichy units were later free to leave Metro Vichy into Occupied France etc. Also the Dakar Mil showed up in the CW force pool.
The rolls for whether they would fight or not when facing Allied units did not fucntion.

Lars



I also had issues with liberation on france and vichy minors

(in reply to lomyrin)
Post #: 699
RE: MWIF Game Interface Design - 6/23/2007 11:42:28 AM   
dale1066


Posts: 108
Joined: 6/23/2007
Status: offline
Re Bugs in CWif code for Vichy France, saved Vichy build points in metropolitan france would not be captured but would appear to be available to the free french player  in their resources production tab. 

(in reply to c92nichj)
Post #: 700
RE: MWIF Game Interface Design - 7/2/2007 2:48:14 AM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline
I have been looking into the player interface for playing over the internet.

One thing that I think is required is a little information form/screen that lets the player know what everyone else is doing. Here is a mock up. Though what I am showing here is large, in the program it would be quite small. That is why I have abbreviated the country names (instead of using flags). I want as small a footprint on the screen real estate as possible.

The top of the form would name the current phase. The active side would get the yellow background and the inactive side the gray background. During production, all the major powers would be active - yellow background. The words to the left of the country abbreviations display status and when there are multiple subphases, it shows the name of the subphase (abbreviated).

I was thinking of 5 players when I made up this example. The China/USA player has finished the reinforcement phase for China and is currently placing the USA reinforcements on the map. The France/USSR player started with the USSR and is currently removing air units. Once that is done he will go onto France. The CW player is still pondering which units to scrap and the other two players (Germany/Vichy France & Italy/Japan) are waiting for their turn to go through the reinforcement phase.

I could add additional information, such as which players are playing which major powers, but that doesn't seem necessary. Once a game has started, everyone will know pretty quickly who is playing which countries. I put Vichy France at the bottom of the form so it will be easy to lop it off when Vichy France doesn't exist.

Comments?




Attachment (1)

_____________________________

Steve

Perfection is an elusive goal.

(in reply to dale1066)
Post #: 701
RE: MWIF Game Interface Design - 7/2/2007 9:15:26 AM   
Froonp


Posts: 7995
Joined: 10/21/2003
From: Marseilles, France
Status: offline
Good.
Probably this form can be called from the place in the status bar where the game is stating which phase / step you are in.

(in reply to Shannon V. OKeets)
Post #: 702
RE: MWIF Game Interface Design - 7/2/2007 5:35:55 PM   
wfzimmerman


Posts: 660
Joined: 10/22/2003
Status: offline
I am not sure I understand what the status means here. Does this mean that MWIF is running for Internet mode for Allies but not Axis?

It would be nice to see some sort of indication of whether players are connected to the internet and awake ;-) -- or at least to distinguish between players who have the MWIF process running on their pCs and those who don't currently.

_____________________________


(in reply to Shannon V. OKeets)
Post #: 703
RE: MWIF Game Interface Design - 7/2/2007 7:56:31 PM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline

quote:

ORIGINAL: wfzimmerman

I am not sure I understand what the status means here. Does this mean that MWIF is running for Internet mode for Allies but not Axis?

It would be nice to see some sort of indication of whether players are connected to the internet and awake ;-) -- or at least to distinguish between players who have the MWIF process running on their pCs and those who don't currently.

Good point. I will add a small circle colored green if the major power is on-line and a small red square if they are not.

Status colors indicate whether the player is currently making decision for the major power. Most decisions are made by a single major power and if you are playing several, then only one of them is Active at any point in time. When a side is making a decision, that is the responsibility of the team leader for the side; therefore just the team leader will be Active when a side is making a decision (e.g., asking for a reroll for initiative).

_____________________________

Steve

Perfection is an elusive goal.

(in reply to wfzimmerman)
Post #: 704
RE: MWIF Game Interface Design - 7/3/2007 2:19:19 AM   
Incy

 

Posts: 336
Joined: 10/25/2003
Status: offline
A ping feature would be very nice. If you want a players attention, press a ping button (the little active/inactive status circle?), and the players computer should will make a ping noise (or a windows alert could pop up or something).

This will be very useful if I spend 8 minutes doing something (land moves, for instance) and my opponent gets a bit bored and does something else.
Ping should have a separate volume setting from the game music!


(in reply to Shannon V. OKeets)
Post #: 705
RE: MWIF Game Interface Design - 7/3/2007 3:07:48 AM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline
quote:

ORIGINAL: Incy
A ping feature would be very nice. If you want a players attention, press a ping button (the little active/inactive status circle?), and the players computer should will make a ping noise (or a windows alert could pop up or something).

This will be very useful if I spend 8 minutes doing something (land moves, for instance) and my opponent gets a bit bored and does something else.
Ping should have a separate volume setting from the game music!


Rather than a sound, or in addition to a sound, perhaps a text message? Many players turn the sound off physically (i.e., at the speakers). I cuold make the message blink too.

I understand the problem you are describing but would like a more general solution. Perhaps a short list of standard messages?

Your turn!

I'm done! (for informing your teammates)

??? others ???

_____________________________

Steve

Perfection is an elusive goal.

(in reply to Incy)
Post #: 706
RE: MWIF Game Interface Design - 7/3/2007 5:57:37 AM   
Zorachus99


Posts: 1066
Joined: 9/15/2000
From: Palo Alto, CA
Status: offline
Open a window that grabs focus. That way if I'm using a full screen program, I'll see an alert appear above what I'm doing. That and make the feature un-spammable, like a 30 second timer.

_____________________________

Most men can survive adversity, the true test of a man's character is power. -Abraham Lincoln

(in reply to Shannon V. OKeets)
Post #: 707
RE: MWIF Game Interface Design - 7/3/2007 5:04:58 PM   
wfzimmerman


Posts: 660
Joined: 10/22/2003
Status: offline

quote:

ORIGINAL: Shannon V. OKeets

quote:

ORIGINAL: Incy
A ping feature would be very nice. If you want a players attention, press a ping button (the little active/inactive status circle?), and the players computer should will make a ping noise (or a windows alert could pop up or something).

This will be very useful if I spend 8 minutes doing something (land moves, for instance) and my opponent gets a bit bored and does something else.
Ping should have a separate volume setting from the game music!


Rather than a sound, or in addition to a sound, perhaps a text message? Many players turn the sound off physically (i.e., at the speakers). I cuold make the message blink too.

I understand the problem you are describing but would like a more general solution. Perhaps a short list of standard messages?

Your turn!

I'm done! (for informing your teammates)

??? others ???


How about:

The rules clearly allow this.

You're ahead, so I resign.

Prepare to die!

That should pretty much cover it. ;-)







_____________________________


(in reply to Shannon V. OKeets)
Post #: 708
RE: MWIF Game Interface Design - 7/3/2007 5:44:42 PM   
wfzimmerman


Posts: 660
Joined: 10/22/2003
Status: offline

quote:

ORIGINAL: Zorachus99

Open a window that grabs focus. That way if I'm using a full screen program, I'll see an alert appear above what I'm doing. That and make the feature un-spammable, like a 30 second timer.


I hate windows that steal focus.

See http://www.nimblebooks.com/wordpress/2006/04/24/prevent-windows-apps-from-stealing-focus/

_____________________________


(in reply to Zorachus99)
Post #: 709
RE: MWIF Game Interface Design - 7/3/2007 8:18:49 PM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline
quote:

ORIGINAL: wfzimmerman
quote:

ORIGINAL: Zorachus99

Open a window that grabs focus. That way if I'm using a full screen program, I'll see an alert appear above what I'm doing. That and make the feature un-spammable, like a 30 second timer.


I hate windows that steal focus.

Well, if you are playing a game of MWIF over the internet, I would think that being informed that it is your turn to move would not be an inconvenience. That's even if you were in the middle of donig something on the side.

But if I am wrong, it is easy enough to make the message grabbing focus optional. Though I prefer to keep the number of optional aspects of the player interface within reason.

_____________________________

Steve

Perfection is an elusive goal.

(in reply to wfzimmerman)
Post #: 710
RE: MWIF Game Interface Design - 7/3/2007 9:12:50 PM   
Incy

 

Posts: 336
Joined: 10/25/2003
Status: offline
It isn't the application that steals focus, it's the other player that "taps you" to let you know you're up. If you don't like it, let the other player know!

A popup is nice, but doesn't allow me to go away from the computer. I would like to be able to turn off regular sound, but turn up the volume of a "ping", so that I'll know it's my turn even if doing something else in the next room.


(in reply to Shannon V. OKeets)
Post #: 711
RE: MWIF Game Interface Design - 7/4/2007 4:10:39 AM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline

quote:

ORIGINAL: Incy

It isn't the application that steals focus, it's the other player that "taps you" to let you know you're up. If you don't like it, let the other player know!

A popup is nice, but doesn't allow me to go away from the computer. I would like to be able to turn off regular sound, but turn up the volume of a "ping", so that I'll know it's my turn even if doing something else in the next room.



I didn't mean to imply No to the ping. I just want it to be supplemented with a visual in case the speakers are off (or the player doesn't have speakers).

_____________________________

Steve

Perfection is an elusive goal.

(in reply to Incy)
Post #: 712
RE: MWIF Game Interface Design - 7/4/2007 6:33:52 AM   
amwild

 

Posts: 105
Joined: 2/9/2004
Status: offline
Why not just allow the player to set how messages from other players are brought to his attention? If you want noise, ask for it, if you want popups, ask for that.

There is also the possibility of a system tray icon that can change state as an alert, and tooltips that appear attached to the system tray icon.

(in reply to Shannon V. OKeets)
Post #: 713
RE: MWIF Game Interface Design - 7/4/2007 7:40:37 AM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline

quote:

ORIGINAL: amwild

Why not just allow the player to set how messages from other players are brought to his attention? If you want noise, ask for it, if you want popups, ask for that.

There is also the possibility of a system tray icon that can change state as an alert, and tooltips that appear attached to the system tray icon.

Ok.

Given your advice, I am now thinking of an indicator (button with text?) that says "New Message" or some such. Clicking on it would bring up a list of messages received that have not yet been viewed. The indicator would change color(s)/shape depending on its status.

_____________________________

Steve

Perfection is an elusive goal.

(in reply to amwild)
Post #: 714
RE: MWIF Game Interface Design - 7/4/2007 9:37:25 AM   
c92nichj


Posts: 440
Joined: 1/14/2005
Status: offline

quote:

ORIGINAL: Shannon V. OKeets


quote:

ORIGINAL: amwild

Why not just allow the player to set how messages from other players are brought to his attention? If you want noise, ask for it, if you want popups, ask for that.

There is also the possibility of a system tray icon that can change state as an alert, and tooltips that appear attached to the system tray icon.

Ok.

Given your advice, I am now thinking of an indicator (button with text?) that says "New Message" or some such. Clicking on it would bring up a list of messages received that have not yet been viewed. The indicator would change color(s)/shape depending on its status.


I thinnk this kind of functionality allready exists in any of the messenger product out there, Yahoo, MSN, Skype, ICQ comes to mind, whiuch I assume that you will be able to run in the background.
Let Steve focus on developing MWIF not a chat/messaging product.

(in reply to Shannon V. OKeets)
Post #: 715
RE: MWIF Game Interface Design - 7/4/2007 7:04:44 PM   
composer99


Posts: 2923
Joined: 6/6/2005
From: Ottawa, Canada
Status: offline
One cannot assume that one's MWiF opponents will have any messenger product (or that they would want to get one, either).

I imagine that any messaging module attached to MWiF would be exclusively used either to tell players that it is their turn to play or make some sort of decision, or to inform them of the outcome of a battle or other key in-game event. It hardly needs to be used to pass on idle chitchat or trash talk.

_____________________________

~ Composer99

(in reply to c92nichj)
Post #: 716
RE: MWIF Game Interface Design - 7/4/2007 9:53:22 PM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline
quote:

ORIGINAL: composer99
One cannot assume that one's MWiF opponents will have any messenger product (or that they would want to get one, either).

I imagine that any messaging module attached to MWiF would be exclusively used either to tell players that it is their turn to play or make some sort of decision, or to inform them of the outcome of a battle or other key in-game event. It hardly needs to be used to pass on idle chitchat or trash talk.

It is very easy to send simple text messages between players. Code to do that was in CWIF and I retained it in MWIF. The program is already sending thousands of messages (as simple text strings) between players for game events so sending a personal text message/string is trivial.

The difficulty arises when bells and whistles start to get attached to the simple text message. I intend to provide some of those (e.g., a history of messages received/sent and the ability to go back and reread earlier messages). However, there are a lot of additional features possible - it could evolve to a complete file directory or database system. c92nichj was correct in reminding me to not let this get out of hand with feature creep.

That said, I still would like to hear ideas from people on commnications between players and I might cherry pick a few of them to include in MWIF product 1.

_____________________________

Steve

Perfection is an elusive goal.

(in reply to composer99)
Post #: 717
RE: MWIF Game Interface Design - 7/5/2007 2:04:27 AM   
Jimm


Posts: 607
Joined: 7/27/2006
From: York, UK
Status: offline
An in game way for all the members of a side to share plans & strategy is always good, especially if, as you suggest, you would have a message history to go back and review.

(in reply to Shannon V. OKeets)
Post #: 718
RE: MWIF Game Interface Design - 7/5/2007 3:45:00 AM   
Shannon V. OKeets

 

Posts: 22095
Joined: 5/19/2005
From: Honolulu, Hawaii
Status: offline

quote:

ORIGINAL: Jimm

An in game way for all the members of a side to share plans & strategy is always good, especially if, as you suggest, you would have a message history to go back and review.

Yes. Although I think all I will provide on that is the ability to direct a text message to multiple people at once. The choices for addressees would be: everyone, everyone on my side, specific player(s). If people want to exchange JPGs, they would have to do that outside the game.

_____________________________

Steve

Perfection is an elusive goal.

(in reply to Jimm)
Post #: 719
RE: MWIF Game Interface Design - 7/5/2007 9:27:31 PM   
Jimm


Posts: 607
Joined: 7/27/2006
From: York, UK
Status: offline

quote:

ORIGINAL: Shannon V. OKeets


quote:

ORIGINAL: Jimm

An in game way for all the members of a side to share plans & strategy is always good, especially if, as you suggest, you would have a message history to go back and review.

Yes. Although I think all I will provide on that is the ability to direct a text message to multiple people at once. The choices for addressees would be: everyone, everyone on my side, specific player(s). If people want to exchange JPGs, they would have to do that outside the game.


Quite so, or cc by tick boxes perhaps.


(in reply to Shannon V. OKeets)
Post #: 720
Page:   <<   < prev  22 23 [24] 25 26   next >   >>
All Forums >> [New Releases from Matrix Games] >> World in Flames >> RE: MWIF Game Interface Design Page: <<   < prev  22 23 [24] 25 26   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.125