Skip to content

suziexi/CSC223-ValleyBikeSim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValleyBikeSim

Smith College / CSC223 / A1 Starter Code

Preconditions:

  1. Install the Java JDK; NOT the JRE: https://adoptopenjdk.net/ or https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html

  2. Install Eclipse, (using my link rather than searching for it, since there are many versions): https://www.eclipse.org/downloads/packages/release/2019-06/r/eclipse-ide-java-developers

How to import this project into Eclipse

There are a lot of steps here! Don't try to memorize them, just practice. Whenever you click next, or open a menu, see if you can read it, guess what you should do next, and confirm with these steps. Doing it this way will help you get through it quicker for future assignments.

  1. Go to the "File" menu and choose "Import"
  2. Expand the Git Folder and choose "Projects from Git"
  3. Click "Next"
  4. Choose "Clone URI"
  5. Copy and paste https://github.com/amgrubb/CSC223-ValleyBikeSim.git into the URI field.
  6. Click "Next"
  7. Wait for it to find "master"
  8. Click "Next"
  9. (optional) Choose a directory to store the project.
  10. Click "Next"
  11. Choose "Import as general project"
  12. Click "Next"
  13. Click "Finish"
  14. Right-Click on the new project that showed up in the "Package Explorer" on the left. Select "Configure > Convert to Maven Project".

Find and run the code!

  1. Expand the "ValleyBikeSim" folder, expand the "src/main/java" and "(default package)" folders.
  2. Double-Click on ValleyBikeSim.java
  3. Run the code. Do one of:
    • Press the Green Run button at the top.
    • Use the Run menu at the top and select Run.
    • Right-Click and choose "Run As > Java Application"
  4. The "Console" tab on the bottom should show you the output of the program. (When you implement the rest of the game, you will also need to type here... the cursor looks like it's in the wrong place sometimes but don't worry.)

Implement the rest of the assignment!

Submit the assignment using the directions in Moodle.

About

Start code for ValleyBikeSim.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%