Hi,
It literally generates a random game, i.e. it assembles random collections of ludemes according to the grammar until it finds a combination that makes a "playable" game. A game is deemed playable if it:
1. Conforms to the grammar.
2. Compiles without error.
3. Creates its Game object without error.
4. Allows each player to move at least once.
This doesn't mean that the game is any good! We've found that about 1 in 10,000 random games deemed "playable" are actually what humans would deem to be a proper game. Of those, only a very small number (one in a million?) would actually be interesting games worth playing.
So random game generation is mostly for testing and debugging purposes; there's nothing like a few thousand randomly assembled rule sets to test your code! To generate interesting games, it's best to start with existing games and evolve them.
Regards,
Cameron
It literally generates a random game, i.e. it assembles random collections of ludemes according to the grammar until it finds a combination that makes a "playable" game. A game is deemed playable if it:
1. Conforms to the grammar.
2. Compiles without error.
3. Creates its Game object without error.
4. Allows each player to move at least once.
This doesn't mean that the game is any good! We've found that about 1 in 10,000 random games deemed "playable" are actually what humans would deem to be a proper game. Of those, only a very small number (one in a million?) would actually be interesting games worth playing.
So random game generation is mostly for testing and debugging purposes; there's nothing like a few thousand randomly assembled rule sets to test your code! To generate interesting games, it's best to start with existing games and evolve them.
Regards,
Cameron