my project on the build a car racing game with the help of python and c++ - 23/03/2023 01:48 EDT

종료 등록 시간: 1년 전 착불
종료

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

Article Writing 데이터 입력 엑셀 소프트웨어 테스팅 웹 보안

프로젝트 ID: #36249142

프로젝트 소개

10 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 11 달 전

이 일자리에 대한 프리랜서 10 명의 평균 입찰가: $22 (1시간 기준)

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 기타

$20 SGD / (1시간 기준)
(3 리뷰)
2.8
webpixxelshikha

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 기타

$25 SGD / (1시간 기준)
(0 리뷰)
0.0
Gowthamireddy22

I am having a good knowledge in python programming and i am having certifications in python programming. I can help you to build project.

$25 SGD / (1시간 기준)
(0 리뷰)
0.0
illanaidu098

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 기타

$23 SGD / (1시간 기준)
(0 리뷰)
0.0
tuanna2607

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 기타

$20 SGD / (1시간 기준)
(0 리뷰)
0.0
GuruDarshan07

Expert in data writing and typing .... Very efficient worker and the project will be submitted as soon as possible before the time given.

$20 SGD / (1시간 기준)
(0 리뷰)
0.0
ishikabarik

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

$20 SGD / (1시간 기준)
(0 리뷰)
0.0
saiddz00

Hi, I am an expert in C/C++ and I can help with any kind of project whether it's games or applications or 3d software. I work fast and efficiently and give a good result. send me a message . I will love to work with yo 기타

$25 SGD / (1시간 기준)
(0 리뷰)
0.0
suna0

Hello there, You are looking for a freelance developer to create a car racing game using C++ and Python programming languages. If you are interested in working with me as a candidate for this project, I can provide you 기타

$20 SGD / (1시간 기준)
(0 리뷰)
0.0