rename habit puzzle game again for testing

This commit is contained in:
2022-05-09 16:47:07 -04:00
parent 075fd49d8e
commit 2897e7c790
13 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
package;
import kiss.Prelude;
import kiss.List;
import kiss.Stream;
import sys.io.File;
import datetime.DateTime;
import datetime.DateTimeInterval;
enum EntryType {
Daily(daysOfWeek:Array<Int>, lastDayDone:String);
Interval(days:Int, lastDayDone:String);
// -1 represents the last day of the month, and so on
Monthly(daysOfMonth:Array<Int>, lastDayDone:String);
Bonus;
Todo;
}
typedef EntryLabel = {
label:String,
points:Int
};
typedef Entry = {
type: EntryType,
labels: Array<EntryLabel>,
};
typedef RewardFile = {
path: String,
startingPoints: Int
};
@:build(kiss.Kiss.build())
class HabitModel {}