Nascar Finch

Targeted Concept(s): 
Iteration
Supported Language(s): 
Java

Program Name: NascarFinch.java
Objective: Using the Java Calendar class and Finch isTapped() method.

The program will count the number of times the Finch was tapped in a one minute window. Use the number of taps to set the wheel velocity, more taps means greater velocity. In order for two or more Finches to begin the race at the same time we can prompt the user with READY, SET, GO and have each player press the enter key at the same time.

Commands:
Put this under Finch Init: boolean[] sense = new boolean[2];
Finch Sense: sense = myFinch.getObstacleSensors();
Init Calendar Calendar now = Calendar.getInstance();
End Milliseconds endMill = now.getTimeInMillis() + 10000;
While Loop to Use: while(now.getTimeInMillis() < endMill) {
actions
}

Comments

There are users if this games

There are users if this games site http://www.iphysicsgames.com/top-rated an online physics games site, that acknowledge the use of Finch that they were able to alter and or change every commands, is that really possible?

Thanks.

Track

did you biuld a track for your finch to run in

In order for two or more

In order for two or more Finches to begin the race at the same time we can prompt the user with amylinear