Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Noob in fortran95 needs help :(

Status
Not open for further replies.

maki1337

Technical User
Sep 9, 2012
4
PH
Good day guys,
I am making a dama game for our project and I don't know how to do it.
The dama game that I am making is only limited for 2 players, I think I will make an AI after finishing the 2-player mode.
The program that I am working on will look like these

fortran file: notepad, incase you cant open the fortran file:
1 and 2 will be the normal pieces, 1* and 2* will be the dama pieces
The X and Y will be the coodinates and that will determine how will the pieces move.
1 and 2 will disappear when they are eaten by the opposing player
Problems:
1. How can I make this board by using format statements :(
2. How can I store the values inside the squares and how to transfer those values to other squares(moving the piece)
3. to be continued.. I'll find more problems later

How to start" steps by my teacher:
1. Instead of 8x8, I will start with 4x4
2. 1 and 2 will become 0 when they are moved or eaten

Thanks in advance guys
 
Is that a homework question ?

Norbert


The optimist believes we live in the best of all possible worlds - the pessimist fears this might be true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top