Building a Mastermind Game using C# console

Ολοκληρωμένο Αναρτήθηκε Πριν 6 χρόνια Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

Requirements:

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.

Γλώσσα Προγραμματισμού C#

Ταυτότητα Εργασίας: #15872966

Σχετικά με την εργασία

7 προτάσεις Απομακρυσμένη εργασία Ενεργό Πριν 6 χρόνια

Ανατέθηκε στον:

freelancerSolvit

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

£40 GBP σε 0 μέρες
(16 Αξιολογήσεις)
4.3

7 freelancers κάνουν προσφορές κατά μέσο όρο £24 για αυτή τη δουλειά

rinabuoy13

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 σε 1 μέρα
(50 Αξιολογήσεις)
5.9
josex14

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 σε 1 μέρα
(2 Αξιολογήσεις)
1.4
fastlabindia

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 Περισσότερα

£10 GBP σε 1 μέρα
(1 Κριτική)
1.2
aminayousaf2

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 Περισσότερα

£20 GBP σε 2 μέρες
(0 Αξιολογήσεις)
0.0
AyeshaB

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 Περισσότερα

£20 GBP σε 2 μέρες
(0 Αξιολογήσεις)
0.0