Building a Mastermind Game using C# console


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

game set-up.

Kĩ năng: Lập trình C#

Xem nhiều hơn: mastermind c# windows form, mastermind strategy, text based game development using c++, sorting techniques in data structures using c, introduction to data structures using c, data structures using c tutorial, data structures using c online tutorial, simple mastermind game using, building racing game flash, memory game using visual studio 2005, car engine building flash game, minesweeper game using visual, puzzle game using visual basic, simple game using arrays, creating bingo game using java, building business reports using

Về Bên Thuê:
( 1 Nhận xét ) Chatteris, United Kingdom

ID dự án: #15872966

8 freelancer đang chào giá trung bình £23 cho công việc này


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

£37 GBP trong 1 ngày
(23 Nhận xét)

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.

£18 GBP trong 1 ngày
(5 Nhận xét)
£28 GBP trong 1 ngày
(3 Nhận xét)

We are highly experienced Post Graduate Engineers, Doctors, IT, ITES, Software, Infrastructure Professionals, Web Designers and IT Architects. We can redo, improve, and publish any engineering, scientific MATLAB, SI Thêm

£10 GBP trong 1 ngày
(1 Nhận xét)

Console-based mastermind game in C#......................................................................................................

£40 GBP trong 0 ngày
(1 Nhận xét)

Hi, I am expert in C#, I can make your console based game with given requirements very quickly and fast. I also have done many projects and games in C# in my semester projects. I can make your game faster and efficien Thêm

£20 GBP trong 2 ngày
(0 Nhận xét)

I have an experience of more than 10 years in software development and for almost 4-5 years i have worked in C#. Its a simple C# application which does not require fancy interface requirements. But i want to clear few Thêm

£20 GBP trong 2 ngày
(0 Nhận xét)

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.

£11 GBP trong 1 ngày
(0 Nhận xét)