Racer

推荐的级别级别
10+
Have you ever played the video game Speed Race? Not sure? Or perhaps Wheels? Okay, what about a game where you drive a race car at high speed and simultaneously dodge other cars and various obstacles that are sometimes illogical? We think you must have encountered some obstacle-laden racing games at some point in your gaming life! There are too many of these games to count. They have always been super popular, because they are exciting and the rules are so simple. The genre's first representatives appeared back in the days of arcade machines and even let you compete against your friends. And once in 1981, Bill Gates and Neil Konzen wrote a similar game. It was called Donkey.bas (the .bas extension means that Microsoft's former CEO used the BASIC programming language to write it) and was included in early versions of PC DOS, an operating system that today's kids can imagine only in their worst nightmares? In Donkey.bas, the race car driver (player) had to avoid running into donkeys that would suddenly appear on the road. A situation familiar to any fan of the genre! Let's follow in the footsteps of Microsoft's founder and create a similar game. But not in BASIC, of course. And we'll also do without the gray odd-toed ungulates. We're cooler, so we'll use our beloved Java. Let's call our game Racer. In addition to a player who can steer left and right and accelerate, it will have objects that move horizontally and vertically ? other cars and stationary obstacles. The objective is to get to the finish line without hitting any of these objects. The finish line appears after a certain number of obstacles are passed. This isn't as hard as it may seem, but effort will be required. Here at CodeGym, we've already split this project into managable tasks that beginning programmers can understand. Shall we get started?
评论 (44)
  • 受欢迎
你必须先登录才能发表评论
Anonymous #11467213
级别 1 ,Warren,United States
9 二月, 18:07
hi
Jonathan
级别 0 ,Indonesia
12 一月, 01:52
Kontol
Antonio Lopez
级别 60
Expert
4 十月 2023, 09:59
As the wizard assistant says: To start we have to inherit the Game class and to get access to it we need to import: import com.codegym.engine.cell.*;
Anonymous #11352309
级别 4 ,Ghana
7 六月 2023, 13:26
done😁😁😁😁😁😁😁
IGNACY
级别 0 ,Poland
4 三月 2023, 15:32
😌
IGNACY
级别 0 ,Poland
4 三月 2023, 15:32
spirit
级别 20 ,Washington,China
27 十二月 2022, 06:55
Savor a childhood memory.
Santiago MoralesArellano
级别 1 ,Маунтин-Вью,United States
16 十二月 2022, 00:04
How do make the game.
Aqhsath
级别 2 ,United Kingdom,United Kingdom
15 九月 2022, 19:07
hey
Anonymous #11041974
级别 2 ,Kenya
23 七月 2022, 04:23
how do you make the game????