my project on the build a car racing game with the help of python and c++ - 23/03/2023 01:48 EDT
Orçamento $20-30 SGD / hora
Job Description:
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main() {
srand(time(NULL)); // initialize random seed
int position = 0; // initialize car position to 0
// loop until car reaches finish line
while (position < 10) {
int move = rand() % 3 + 1; // generate random number between 1 and 3
position += move; // move car
cout << "Car moved " << move << " spaces. Position: " << position << endl;
}
cout << "Car wins!" << endl;
return 0;
}
for python
import random
position = 0 # initialize car position to 0
# loop until car reaches finish line
while position < 10:
move = [login to view URL](1, 3) # generate random number between 1 and 3
position += move # move car
print(f"Car moved {move} spaces. Position: {position}")
print("Car wins!")
10 freelancers estão ofertando em média $22/hora nesse trabalho
Dear Employer, Greetings of the day We hope our job proposal finds you in the best of conditions. Your job post intrigued an attraction and we thought of sending a proposal so that we could get connected. Deliverab Mais
I am having a good knowledge in python programming and i am having certifications in python programming. I can help you to build project.
hello sir/ma'am , i am hemanth naidu , i am a experianced python coder having nearly two years of experience and developed many games and apps including snake game, pop game ,car racing game and certified CBSE board Mais
Hi, I have just read your requirement and very interested in your C++ Car Racing game project. I have 20+ years experience in Software Development and the C/C++ is my top skill. As for rich experience, CPU scheduling/P Mais
Expert in data writing and typing .... Very efficient worker and the project will be submitted as soon as possible before the time given.
i am a good copy typing i can do this job i hope that you will give this opportunity to me i will able to do this