Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Game Program Other Riddle games
Title: main Download
 Description: Moving mountains Games: with n mountains, computers and people as a race between the parties, the two sides take turns to move mountains. The number for each and every move can not exceed k Mountain Block, who moved last one who lost. Start of the game, the computer asked people to enter the total number of mountain (n) and each time the maximum number allowed to move mountains (k). Then please people get started, people need to move the mountain entered the number, the computer immediately how much output it to move mountains, and prompts the remaining number of hills. Both sides take turns to move a mountain to move those mountains up until the last. Who is the winner of the computer display, and asked whether to continue the race. If people do not want to play, and can enter the total number of mountains to 0, the computer will tell the people were gone for several Bureau, the outcome of how the two sides.
 To Search:
File list (Check if you may need any files):
main.c
    

CodeBus www.codebus.net