Hello, i have created a web application using ASP for a fantasy football (soccer) type game.
Its a pretty straight forward system where users log-in and select players from a list stored on a database table.
To develop it further i'd like to add the ability for the user to be able to click a button and have a team automatically and randomly generated for them.
I know how to do random selects for just one player but i cant figure out the best way of doing a team. There are obviously rules for the game which need validating, i.e. team value can be no more than £30million and you must have a 1-4-3-3 formation.
Any ideas on the best way to go about this? Anyone done anything like it before?
I know more details on set up etc are probably needed but i thought i'd ask before posting any details.
Thanks in advance.
Pete
Its a pretty straight forward system where users log-in and select players from a list stored on a database table.
To develop it further i'd like to add the ability for the user to be able to click a button and have a team automatically and randomly generated for them.
I know how to do random selects for just one player but i cant figure out the best way of doing a team. There are obviously rules for the game which need validating, i.e. team value can be no more than £30million and you must have a 1-4-3-3 formation.
Any ideas on the best way to go about this? Anyone done anything like it before?
I know more details on set up etc are probably needed but i thought i'd ask before posting any details.
Thanks in advance.
Pete