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.
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
8 威客就此工作平均出价 $130
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.