Skip to content
Permalink
7559485eda
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
52 lines (39 sloc) 940 Bytes
package controller;
import view.*;
import model.*;
public class Cashflow
{
private GameBoard _board;
private Player[] _players;
private CardStack[] _cards;
public static void main(String[] args)
{
/*
* Just testing stuff in here for now. Main method will call the go() method when game is built
*/
MarketStack ms = new MarketStack();
int initialSize = ms.getSize();
for(int i=0; i<initialSize; i++)
{
int num = i+1;
System.out.println(num + ": " + ((MarketCard) ms.pop()).getTitle()); //Always going to need this cast when getting description unfortunately
}
}
public void go()
{
// Joe
// Initialize game board
// Initialize GUI
// Initialize players (pick professions)
// Initialize cards
/*
* Start game:
* calls play function that has a
* while loop that repeats until either a player wins or
* someone elects to quit
*/
}
public void play()
{
}
}