NEW PROBLEM!!!!
So I've been at this and have been making progress but at the moment I'm running into a problem of generating "unique non duplicate boards". I'll show you my current driver and my...
Type: Posts; User: coke32
NEW PROBLEM!!!!
So I've been at this and have been making progress but at the moment I'm running into a problem of generating "unique non duplicate boards". I'll show you my current driver and my...
unfortunately I don't know how to debug my programs all that well. We haven't gone over that too much yet. but I have figured out why the x's or o's weren't generating! I never declare what this.size...
I'm not sure.. it should be either an 'x' or and 'o' in the output and they should be stacked to look like a tic-tac-toe board. heres my fill method code
public void fillWithRandomXandO()
{...
import java.util.Scanner;
public class TTTDriver {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int size;
int numberOfBoards;
int...
I just tried to generate a board and my toString() method for my array doesn't work. we can't print from the method as printing the array seems simple to me with nested for loops. but generating a...
I haven't even gotten to a point for board outputs atm, been trying to think of a way to generate the most possible (non duplicate boards) given the user's input of size.
This is for a college class so I already understand if you can't straight up tell me the answer. That being said I still am in need of help...
CompSci 251: Spring 2012
Programming Assignment...