Lengkap

Build me a windows app c# TODAY

Start Game Button Click

Generate a Random number to the Random Number Variable

Set Guesses Variable to 0

Disable the Start Button

Enable the Guess Button

Enable the Guess Text Box

Set Focus to the Guess Text Box

Guess Button Click

Increment Number of Guesses variable by 1

Display number of Guesses in Number of Guesses Label

if the guess in the text box is not numeric (I will give you this code)

{

Display a Message Box "Numbers Only"

Clear the guess text box

Set focus to the guess text box

}

else

{

Move the value in the guess textbox into a guess variable.

if the guess variable is less than the random number

{

Display in a message box "Too Low";

Clear the guess text box

Set focus to the guess text box

}

else if the guess variable is greater than the random number

{

Display in a message box "Too High";

Clear the guess text box

Set focus to the guess text box

}

else (it was guessed)

{

Display in a message box "You Guessed it in x attempts.");

Disable the guess text box

Disable the guess button

Enable the Start Button

if the current user's number of guesses < lowest score

{

Set the best score integer to the user's number of guesses

Display the new best score in the best score label

Reset the current number of guesses label to 0 (ready for new game)

Reset the current number of guesses variable to 0 (ready for new game)

Clear the number in the guess text box

}

}

}

Exit Button Click

Quit Program

Getting Started

1. Build the screen as close to the screen design as I provided. Use the object names I provide in the TOE. Take note that the Number of Guesses and Best Score sit on a Group Box.

2. The Submit Guess button and Guess text box should be disabled at design time. You can’t submit a guess until the game has started.

3. Set your form’s tab order

4. Make the Submit button your form’s Accept button

5. Make the “S” in “Start Game” the hot key.

6. Make “G” in “Submit Guess” the hot key.

7. Make the “x” in “Exit” the hot key.

8. Create three class level integer variables – one to hold the generated random number, one for number of guesses and finally best score. Set the value of the best score initially to 99 as a primer. We will display a “?” when the game starts. Once someone gets a score below 11, the ? will be replaced with new low score.

9. Code your Start Button Click Event handler. Use this code at the start to generate a random number. Use intRandomNumber as the variable.

Random rnRandomNumber = new Random();

intRandomNumber = [login to view URL](0, 1000);

10. Add the following code (function or value returning method) above the second to the last bracket in your code.

private bool isNumberInt(string strInput)

{

try

{

int intValue = [login to view URL](strInput);

return true;

}

catch (Exception)

{

return false;

}

}

This function determines if a value in a text box is numeric. It can be used in your Guess Click event handler like this:

if (!isNumberInt([login to view URL]))

{

[login to view URL]("Integers Only. Retry.");

[login to view URL]();

}

• Add a counter allowing the user to have a maximum of 10 attempts before losing.

• Add a game appropriate image to app.

• Add sound to app. Replace message box with audio.

• Capture and display the best score and the best scorer’s name.

• Save the best score so that each time you start the program the best score is retained.

Kemahiran: .NET, Pengaturcaraan C, Pengaturcaraan C#, Pengaturcaraan C++, Kejuruteraan Perisian

Lihat lagi: outsource build iphone app, convert app work today screen, windows app inventory, convert vbnet windows app web app, timer windows app, stock windows app, build shirt app, build basic app iphone, build iphone app, windows file open windows app, iphone notes sync windows app, cost build iphone app, server 2005 report windows app, post asp windows app, build windows based auto dialer, build iphone app windows, WPF + Websocket Windows App C#, c# windows app, c# windows app and sql, c# .net windows app

Tentang Majikan:
( 0 ulasan ) Spokane, United States

ID Projek: #19959312

Dianugerahkan kepada:

valor312

VERY EASY FOR ME I can do it within a 1 hour Hello. I have read your description and I am so interested in your project. I am confident in your project and I can finish it clearly on time. I am well experienced a Lagi

$30 USD dalam sehari
(79 Ulasan)
5.9

6 pekerja bebas membida secara purata $35 untuk pekerjaan ini

huangxiangyan

Hi ! I have a detail look to your project, I'm sure I can complete your project. I am on freelancer all day and I will implement all things that you want perfectly. Please let's Lagi

$50 USD dalam sehari
(65 Ulasan)
6.4
polarjin2017

Hello? Nice to meet you. I am excited to work with you on this project. I am ready to start work immediately. So I think I can help you if you want. Here are my working result in c# [login to view URL] h Lagi

$25 USD dalam sehari
(92 Ulasan)
6.7
Angel521

**Dear** I know many programming languages such as c , c++ , c# , wpf, OCR, java, android, php, ionic, python, react, cocos2d, unity, xcode, ... I have some experiences in meta trader. Also i am a good machine learn Lagi

$55 USD dalam sehari
(72 Ulasan)
6.5
malikasad079

I hold a degree in Computer Engineering. I minored in Programming with a focus in c,c++, assembly. Whether independent or operating on a team my analytical approach to problem solving has been a plus. i have experienc Lagi

$20 USD dalam 7 hari
(6 Ulasan)
3.4
hereafter2

So detailed what left to do is just write codes. :) I have been developping windows software for some years. Please consider hire me, thanks

$30 USD dalam sehari
(1 Ulasan)
0.4