Initial commit

This commit is contained in:
2025-08-28 22:38:53 +02:00
commit f15208fe6d
232 changed files with 16821 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
package ch.gtache.fro.practice;
import ch.gtache.fro.Bird;
/**
* Runs a practice session
*/
public interface PracticeRunner {
/**
* Starts a practice run
*
* @param parameters The practice parameters
* @return The practice run
*/
PracticeRun start(PracticeParameters parameters);
/**
* Runs a step in the practice run
*
* @param run The run
* @param answer The answer
* @return The run after the step
*/
PracticeRun step(PracticeRun run, Bird answer);
/**
* Finishes the practice run
*
* @param run The run
* @return The result of the run
*/
PracticeResult finish(PracticeRun run);
}