fred4jupiter / fredbet

Simple football betting application using Spring Boot, Thymeleaf and Bootstrap. Well prepared for betting with friends.
MIT License
119 stars 63 forks source link

Customize Points for Bets #53

Open chrislp opened 5 days ago

chrislp commented 5 days ago

The people that I want to use fredbet for have their own schema for points.
Is there a way to customize that? I didn't find anything in the docs or config files, but I hope that I am just to blind to see it ...

They give

To me these rules are very specific and very weird, so my hopes are not very high - I'd be very happy if it was possible :)

fred4jupiter commented 5 days ago

Currently the ruleset is hardcoded. The 'correct number of goals for one team' is not yet possible to get points for. This may change in the future. Maybe I can refactor it to set the properties as environment variables at container startup. This way you have the choice to set different points as the default.

chrislp commented 1 day ago

I see. Thank you!

foam9953 commented 1 day ago

This would be an awesome feature!