Rob Hallam
d73a16576d
(feat) add small menu asking user which section to run
před 1 rokem
Rob Hallam
4466f6271a
(feat) implement optional section on polymorphism
před 1 rokem
Rob Hallam
a05a149c05
(feat) Implement exercise section 4 - SavingsAccount
před 1 rokem
Rob Hallam
22e9c99217
(feat) Implement Exercise 3 - Student and Lecturer child classes
před 1 rokem
Rob Hallam
9dd0c86f0e
(feat) Implement up to the end of Exercise 2
ie use Person in BankAccount, implement transferFunds(), demo those
před 1 rokem
Rob Hallam
6dbd10165a
(feat) Implement and demo Person and BankAccount classes (2.6)
před 1 rokem
Rob Hallam
b3bef68db2
(feat) Exercise 6.9 - let user play rock-paper-scissors
We'll let the AI keep playing too
Takes user input as number or word or q to quit
před 1 rokem
Rob Hallam
89ece3f1b9
(feat) Take user input for 6.5 number guessing game
It's quite fun actually!
před 1 rokem
Rob Hallam
263a2b39a3
(feat) Implement Lab 5 exercise 7 - show user age
před 1 rokem
Rob Hallam
1ffe5ad5b6
(fix) Bugfix "How many years old are you" exercise
It blithely ignored unimportant things like what day of the year it is today and
in the DOB.
Note that Java Calendar instances are zero-indexed, so Calendar.set(1990, 12, 1)
sets the object to 1st January 1991, not 1st Dec 1990 (!!)
před 1 rokem
Rob Hallam
a8f1e05092
(feat) Implement Lab 6 exercise 5 - number guessing game (AI)
user guessing when we get stdin working
před 1 rokem
Rob Hallam
f419b03675
(feat) Lab 6 exercise 9 - Rock Paper Scissors (no input version)
před 1 rokem
Rob Hallam
992c14be3b
(feat) Lab 7 - string formatting implemented
Plus placeholder for lab 6 exercise 9 (rock-paper-scissors)
před 1 rokem
Rob Hallam
3d7f4d6817
(feat) Lab 6 Exercise 8 - left padding a string
před 1 rokem
Rob Hallam
1052e8e5b6
(refactor) Change Section to Exercise
před 1 rokem
Rob Hallam
20ab80f8fb
(feat) More number triangle examples
před 1 rokem
Rob Hallam
ae5b69fdc5
(feat) Lab 6 Exercise 7 - double division
Implements an object type - DoubleDivisionResult class to return quotient and remainder
před 1 rokem
Rob Hallam
f3fc7c3984
(feat) wrap number triangles in newlines
Also add some docstrings and questions
před 1 rokem
Rob Hallam
4b01248b29
(refactor) Move constructor to top of class
před 1 rokem
Rob Hallam
fd1fd718f2
Implement Lab 6 Exercise 6 (number triangle)
I spotted a neat way of doing this before I had to head off so couldn't resist
před 1 rokem
Rob Hallam
4f8ba4d428
Implement Lab6 up to and including Exercise 4
Exercise 5 requries stdin so we will come abck to that once I figure out how
best to do that.
Primes generation could be more efficient.
před 1 rokem
Rob Hallam
1c57e4d8a7
Finish up to end of Lab 4
Skips labs 1-3, did them in eclipse which failed to save to OneDrive (!)
Implements Lab and Section classes for more easily and consistently running
particular labs.
před 1 rokem