1. Language C#
2. Application must be console based.
Since the application needs to be console based, you will need to create some kind of 2D array
whose elements contain character information (eg ascii characters or ascii codes) for displaying to
screen. Initially the grid will be empty but on each turn a row content will be updated according the
current guess. This means on each turn your application needs to cycle through the 2D array and
(re)draw the board to screen, the turns and re-drawing governed by a nested-loop structure. In
terms of the board game array structure you have flexibility as to how this is actually implemented
– my suggestion is for a single 8x13 array, but alternatively for example you could use a 4x12
guess grid and a 4x12 answer grid, and a separate storage for the secret code.
1. Develop a solution where the code maker is the computer. The computer generates the secret
code utilising a random number generator.
The board is initialised using a choice of appropriate
array structures as described above, and the board is displayed to screen. The second player
(the code breaker) is human, and enters guesses at the keyboard. The computer responds by
updating the array(s) both with the input guess and the answer response and displaying the
updated board to screen. This will require you to implement a pattern matching algorithm for
the computer (the code maker) to compare the individual digits of the input guess with the
individual digits of the secret code. If the code is discovered before the last available row is
filled, the human player has won, if not the computer wins. Note you also have flexibility to
make minor modifications to game difficulty (eg changing the number of colours available,
reducing the number of rows available) if you wish, configured through user input on initial
8 威客就此工作平均出价 £23
Hello Friend, Let me help you with this project. Looking to hearing from you soon. Kind regards Hello Friend, Let me help you with this project. Looking to hearing from you soon. Kind regards
hello. how are you? i am expert of Qt, visual-c++, c#, visual basic, C. i have many years of experience on like these job. i can satisfy every thing what you want in short time. best regard.
Hey! I'm experienced C# developer. I also have experience doing this kind of games. I once made a kind of PONG game in console. We can start immediately to work together. This can be made in just one day.