Skip to content

TrinityTrihawks/tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java/Kotlin Basics for FIRST Robotics

A set of short, beginner-friendly Java and Kotlin exercises for high school robotics students. Each exercise is a separate Gradle subproject with its own README, starter code, and JUnit tests so one broken module will not block the rest.

How to use

  • Install JDK 17+ and Gradle (or use the included Gradle wrapper scripts once generated).
  • From the repo root, run ./gradlew :java:module-name:test for the Java track or ./gradlew :kotlin:module-name:test for the Kotlin track.
  • Each module README explains goals, starter files, and what to implement. Tests will fail until you complete the exercise.
  • Timebox each module to 15–30 minutes.

Layout

  • Java exercises live in java/<module>.
  • Kotlin mirrors live in kotlin/<module> and point to the Java README for full instructions, but code lives under src/main/kotlin and src/test/kotlin.

Modules

  1. 01-setup-hello-world
  2. 02-variables-and-types
  3. 03-expressions-and-control-flow
  4. 04-loops-and-iteration
  5. 05-methods-and-parameters
  6. 06-arrays-and-lists
  7. 07-classes-and-objects
  8. 08-encapsulation-and-immutability
  9. 09-enums-and-switch
  10. 10-error-handling
  11. 11-basic-io
  12. 12-unit-testing-basics
  13. 13-test-driven-exercise
  14. 14-collections-and-maps
  15. 15-inheritance-and-interfaces
  16. 16-functional-basics
  17. 17-capstone-mini-robot-command

Work through them in order or pick topics you want to practice. Good luck and have fun! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published