Suljettu

my project on the build a car racing game with the help of python and c++

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!")

Taidot: Article Writing, Tiedonsyöttö, Excel, Ohjelmistojen testaus, Verkkoturva

Tietoa asiakkaasta:
( 0 arvostelua ) Muzaffarnagar, India

Projektin tunnus: #36219532

11 freelanceria on tarjonnut keskimäärin ₹964/tunti tähän työhön

robartint

Hello I am a professional python developer. My main specializations are automation, web scrapers and bots development. I have already developed over 200 scrapers. From the simplest (for example, a competitor's price Lisää

₹750 INR / tunti
(3 arvostelua)
2.8
wwwkunal546

Hello I am a professional python developer. My main specializations are automation, web scrapers and bots development. I have already developed over 200 scrapers. From the simplest (for example, a competitor's price Lisää

₹1000 INR / tunti
(1 arvostelu)
1.0
costacks2023

Hey there, I understand that you need help with creating a simple racing game in C++ and Python. I am proficient in both programming languages, and I can help you create the game as per your requirements. For the C++ Lisää

₹1100 INR / tunti
(3 arvostelua)
0.0
SAMRICHARD1205

IF YOU GIVE ME THIS ILL COMPLETE THIS WORK WITHIN FEW DAYS AND ILL COMPLETE THIS WORK WITH IN TIME AND IT WILL BE MORE PERFECT AND IT WILL BE WITHIN ON TIME

₹1000 INR / tunti
(0 arvostelua)
0.0
SaadGre

I am currently working and a student at IIT delhi and right now currently in the field of Computer science

₹750 INR / tunti
(0 arvostelua)
0.0