We need to choose a project this week. 

Homework 07, 08. 

http://www.cs.indiana.edu/classes/c212/sum2017/example.jar

I will guide you through the project this week. 

The starting point is 

  (a) set up the server

  (b) run the games in DrRacket

Then make a commitment. Game (engine) or web application. 

If game engine please do this and think about it:

Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd \

C:\>cd Users

C:\Users>cd Default

C:\Users\Default>cd ..\dgerman

C:\Users\dgerman>cd Desktop

C:\Users\dgerman\Desktop>dir
 Volume in drive C is OSDisk
 Volume Serial Number is FC4B-5BA2

 Directory of C:\Users\dgerman\Desktop

07/17/2017  11:45 AM    <DIR>          .
07/17/2017  11:45 AM    <DIR>          ..
07/17/2017  11:45 AM             4,841 example.jar
               1 File(s)          4,841 bytes
               2 Dir(s)  347,872,903,168 bytes free

C:\Users\dgerman\Desktop>java -classpath example.jar Game

C:\Users\dgerman\Desktop>dir
 Volume in drive C is OSDisk
 Volume Serial Number is FC4B-5BA2

 Directory of C:\Users\dgerman\Desktop

07/17/2017  11:45 AM    <DIR>          .
07/17/2017  11:45 AM    <DIR>          ..
07/17/2017  11:45 AM             4,841 example.jar
               1 File(s)          4,841 bytes
               2 Dir(s)  347,872,788,480 bytes free

C:\Users\dgerman\Desktop>jar xvf example.jar
  created: META-INF/
 inflated: META-INF/MANIFEST.MF
 inflated: BigBang.class
 inflated: Circle.class
 inflated: Game.class
 inflated: World.class

C:\Users\dgerman\Desktop>dir
 Volume in drive C is OSDisk
 Volume Serial Number is FC4B-5BA2

 Directory of C:\Users\dgerman\Desktop

07/17/2017  11:49 AM    <DIR>          .
07/17/2017  11:49 AM    <DIR>          ..
07/17/2017  11:34 AM             1,935 BigBang.class
07/17/2017  11:34 AM             1,280 Circle.class
07/17/2017  11:45 AM             4,841 example.jar
07/17/2017  11:34 AM             3,954 Game.class
07/17/2017  11:34 AM    <DIR>          META-INF
07/17/2017  11:34 AM               285 World.class
               5 File(s)         12,295 bytes
               3 Dir(s)  347,871,711,232 bytes free

C:\Users\dgerman\Desktop>

The question is: how do you get started? 

This question is just for the people who choose game engine. 

public class One {
  public static void main(String[] args) {
    Frequency f = new Frequency("mango", 2); 
    System.out.println( f ); 
    f.addOne();
    System.out.println( f ); 
  }
}

public class Frequency {
  private String name; 
  private int count; 
  Frequency(String name, int count) {
    this.name = name; 
    this.count = count; 
  }
  public void addOne() {
    this.count += 1;  
  }
  public String toString() {
    return "(" + this.name + ", " + this.count + ")";  
  }
}

Welcome to DrJava.  Working directory is C:\Users\dgerman\Desktop
> run One
(mango, 2)
(mango, 3)


Now what? 

--