This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Clockserver publishes time on a given port as command line argument | |
// Usage: TZ=US/Eastern ./exercise8_1 8000 & | |
package main | |
import ( | |
"io" | |
"log" | |
"net" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class Answer extends StatelessWidget { | |
final List<String> answerList; | |
final String correctAnswer; | |
Answer(this.answerList, this.correctAnswer); | |
void evaluateAnswer(currentAnswer) { | |
if (correctAnswer == currentAnswer) { |