Skip to content

abcbdf/castle_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

castle_game

Use c++ to simulate multiple rounds of competition between each strategy.

First initialize each strategy, which total size about six million is still tolerable.

Second, let the strategy to cambat with each other and calculate their average score. Rank the scores from large to small and eliminate the worse half strategies. During the early rounds, the total size is too big for a one-cycle match. so I let each strategy to combat with a few random strategies.

Finally, I output the top ten strategies for each round. The result is in result.txt.

About

A two person game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages