1 of 6

FRC Programming

Java Basics 2

2 of 6

You all were quite fast last time..

  • Continue working on things from last lesson
  • Project 1
  • Project 2

3 of 6

Project 1: Wordle Clone

  • Non-5 letter words
  • Any list we want
  • I’ll walk through
  • Copy paste my helper class

4 of 6

Project 2: Brainfuck Interpreter

  • Brainfuck: weird language that uses 8 characters as commands
  • Interpreter: a program that interprets a programming language code and executes it (e.g. Python interpreter runs your Python code)
  • Sample BF code (prints “Hello World!”): ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

5 of 6

Project 2: Brainfuck Interpreter

  • Write your own Brainfuck interpreter
  • Copy paste my helper class to read .bf files (on Discord)
  • Interpret the code and print result to console
  • If you finish, try to make optimizations (e.g. read multiple + at once?)

6 of 6