vba number game

we need such code that will play against a real player and will always win. the game is about:

1- there must be maximum 200 numbers and minimum of 2 (it must be randomly generated by code)

2-each number must be between 1 and 100 (randomly generated)

3-there must be 2 buttons (start, play)


player clicks start button. numbers are generated randomly everytime when a player presses the start button the game restarts. first player clicks play button, code selects either the most left or the most right number in the array. when code selects the number, it deletes the number and writes it to the below cell. the array gets shorter and shorter every turn. second player chooses the most left or most right cell again. then it deletes the number and writes to his side manually. the game ends when there are no numbers left. and the winner is chosen with the highest sum of the numbers chosen by either the code or user.



when user clicks play pc must select 10 and delete it because if pc selects 50 it will lose the game for sure. then the user will select its number manually. he can select 65 or 50. its goes on like this. in the end the one with highest sum wins.

Skills: Excel Macros, Excel VBA, Visual Basic

See more: guess number game java code gui, need simple java game code, java word play game code, java source code game number game, online multiplayer game dont need promotion code, artifitial intelligence j2me game code, web browser game programer need, separate street name address number excel code, vba update file code share workbook, flash game code dress, write simple text based game code, java slider puzzle game code, cool game code html website, wanted game code, j2me game code

About the Employer:
( 0 reviews ) Turkey

Project ID: #15872210

Awarded to:


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

$40 USD in 3 days
(6 Reviews)

8 freelancers are bidding on average $130 for this job

$155 USD in 3 days
(8 Reviews)

hello. how are you? i am expert of Microsoft Excel, excel VBA and data analyst. i have many years of experience on like these job. i can satisfy every thing what you want in short time. best regard.

$77 USD in 3 days
(11 Reviews)

- Algorithm And Programing o C/C++, Java, C#, VB, Object-C,VBA o Qt, MFC o HTML, CSS, PHP, NodeJS o WordPress, Ionic, Electron, Cordova, AnglarJS, TypeScript o Data Structure and Algorithm, Assignment More

$155 USD in 3 days
(0 Reviews)
$155 USD in 3 days
(0 Reviews)

--Very Nice Job. Professional Algorithm & Probability & VBA & Math expert. Best result in time----- [url removed, login to view] I read your description very carefully. I am very interesting for your project because I have rich expe More

$150 USD in 1 day
(0 Reviews)

Hello I am vb expert I had developed many vb games I am highly interested in your project Please contact me Best regards.

$150 USD in 3 days
(0 Reviews)

How are you? I am very skilled developer in the filed of such as the project. I am getting the goal fully on the project. Now I can give you the way of doing the project for you to have a great idea. Feature. More

$155 USD in 3 days
(0 Reviews)