Rob Hallam
22e9c99217
(feat) Implement Exercise 3 - Student and Lecturer child classes
1 ano atrás
Rob Hallam
9dd0c86f0e
(feat) Implement up to the end of Exercise 2
ie use Person in BankAccount, implement transferFunds(), demo those
1 ano atrás
Rob Hallam
6dbd10165a
(feat) Implement and demo Person and BankAccount classes (2.6)
1 ano atrás
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
1 ano atrás
Rob Hallam
89ece3f1b9
(feat) Take user input for 6.5 number guessing game
It's quite fun actually!
1 ano atrás
Rob Hallam
263a2b39a3
(feat) Implement Lab 5 exercise 7 - show user age
1 ano atrás
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 (!!)
1 ano atrás
Rob Hallam
a8f1e05092
(feat) Implement Lab 6 exercise 5 - number guessing game (AI)
user guessing when we get stdin working
1 ano atrás
Rob Hallam
f419b03675
(feat) Lab 6 exercise 9 - Rock Paper Scissors (no input version)
1 ano atrás
Rob Hallam
992c14be3b
(feat) Lab 7 - string formatting implemented
Plus placeholder for lab 6 exercise 9 (rock-paper-scissors)
1 ano atrás
Rob Hallam
3d7f4d6817
(feat) Lab 6 Exercise 8 - left padding a string
1 ano atrás
Rob Hallam
1052e8e5b6
(refactor) Change Section to Exercise
1 ano atrás
Rob Hallam
20ab80f8fb
(feat) More number triangle examples
1 ano atrás
Rob Hallam
ae5b69fdc5
(feat) Lab 6 Exercise 7 - double division
Implements an object type - DoubleDivisionResult class to return quotient and remainder
1 ano atrás
Rob Hallam
f3fc7c3984
(feat) wrap number triangles in newlines
Also add some docstrings and questions
1 ano atrás
Rob Hallam
4b01248b29
(refactor) Move constructor to top of class
1 ano atrás
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
1 ano atrás
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.
1 ano atrás
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.
1 ano atrás