Lab4
Dependencies: mbed 4DGL-uLCD-SE PinDetect
main.cpp@0:42967dd26360, 2021-10-22 (annotated)
- Committer:
- ckaminsky7
- Date:
- Fri Oct 22 20:30:07 2021 +0000
- Revision:
- 0:42967dd26360
Lab4 Farkle Game
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ckaminsky7 | 0:42967dd26360 | 1 | #include "mbed.h" |
ckaminsky7 | 0:42967dd26360 | 2 | #include "farkle_assistant.h" |
ckaminsky7 | 0:42967dd26360 | 3 | |
ckaminsky7 | 0:42967dd26360 | 4 | int main() { |
ckaminsky7 | 0:42967dd26360 | 5 | FarkleGame game1; |
ckaminsky7 | 0:42967dd26360 | 6 | game1.setNumDie(6); |
ckaminsky7 | 0:42967dd26360 | 7 | game1.setTotalScore(0); |
ckaminsky7 | 0:42967dd26360 | 8 | game1.runFarkle(); |
ckaminsky7 | 0:42967dd26360 | 9 | |
ckaminsky7 | 0:42967dd26360 | 10 | } |