Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop
  • Category : Windows Develop
  • Tags :
  • Update : 2012-11-26
  • Size : 261kb
  • Downloaded :0次
  • Author :fang****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
Nim game (The game of Nim) is a well-known and there are many versions of the game. Here is an interesting version of a winning strategy. Two players alternately remove stones from the pile of a certain number, the number of the participants own decision. but requires participants to take out at least one time, up to remove the half, and then the other participants to continue. get the last stone of the participants will lose the game. Write a program that allows computers and the throne. 10 to 100 generate a random number as the initial number of pebbles. And then, randomly generated 0 or 1, to determine whether to play or people get the computer to play first. Then, again randomly produce 0 or 1, to determine the computer using "smart" or "stupid" mode. in stupid mode, the turn of the computer, simply pick random number (from 1 to n/2 between) the stones in smart mode, the computer each time you pick a certain number of stones, making the number of remaining stones is a power of 2
Packet file list
(Preview for download)
Nim\Debug\Main.obj
...\.....\Nim.exe
...\.....\Nim.ilk
...\.....\Nim.obj
...\.....\Nim.pch
...\.....\Nim.pdb
...\.....\vc60.idb
...\.....\vc60.pdb
...\Main.cpp
...\Nim.cpp
...\Nim.dsp
...\Nim.dsw
...\Nim.h
...\Nim.ncb
...\Nim.opt
...\Nim.plg
...\nim游戏的说明.txt
...\Debug
Nim
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.