MegaMan (megaman) wrote,

import tio.*;
import java.util.*;

class ScatScout {

public static void main(String args[]) {

//string xCaptionStatic = XCaption() ;
String xCaptionStatic = "0123456789";
System.out.println( " " + xCaptionStatic + " "); //print X-axis caption
for( int i=0, j=0;j< 10; j++) {
System.out.print( j + " ");
for (i = 0; i< 10; i++) {
System.out.print( "." );
System.out.println( " " + j );
System.out.println( " " + xCaptionStatic + " "); //print X-axis caption

//print yard

System.out.println("Enter row and column numbers for next move."); //prompt user to enter column and row numbers
int row =;
int col =;

//Position(int r, int c);
//class Position
//read in private int col and private int row numbers - Position (int r, int c)
//use toString() to convert position to string format

//class Yard() - contructs new yard with random scat and computes neighbor counts
//check for scat - boolean steppedInIt()
//if steppedInIt() returns false, change the . to the number of scat surrounding
//use 'expose' method for position entered (ex. pos 3 4)
//int clearCellsRemaining()

//go to above address for list of methods and classes

//if myYard is fully exposed - void exposeAll - , game ends and player wins


  • The 21st Century!

    I feel like I got a lot of value out of liveJournal years ago. I don't think anyone reads this, so that's fun. I have so much hate and resentment…

  • (no subject)

    Hi Livejournal!

  • A legitimate, Retro, Old School LiveJournal Entry

    Well Hello Livejournal! To be honest, Livejournal is not as fun without a huge audience. Facebook has really replaced everything that livejournal…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded