# Racing AI

**URL:** https://forum.makecode.com/t/racing-ai/45324
**Category:** Help
**Tags:** game
**Created:** [August 9, 2026, 8:10pm UTC](https://forum.makecode.com/t/racing-ai/45324 "2026-08-09T20:10:04Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![micahlikestocode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/micahlikestocode/32/33602_2.png) [@micahlikestocode](https://forum.makecode.com/u/micahlikestocode)
#### Post date: [August 9, 2026, 8:10pm UTC](https://forum.makecode.com/t/racing-ai/45324/1 "2026-08-09T20:10:04Z")

</div>

does anyone know how to make cars race on a track?

kinda like this:

 ![2026_08_09_0pp_Kleki](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/f/6/f62d7f856de5f75207182cd7600599175cc4c5da.png)

the car has to go all the way around the track and not go into the water.

---

<div class="post-metadata">

### Author: ![CodaKnight](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codaknight/32/33491_2.png) [@CodaKnight](https://forum.makecode.com/u/CodaKnight)
#### Post date: [August 10, 2026, 4:28am UTC](https://forum.makecode.com/t/racing-ai/45324/2 "2026-08-10T04:28:25Z")

</div>

Hmm, I honestly wouldn’t know right now, but you could use these extensions:

> **[GitHub - jwunderl/arcade-tilemap-a-star: a star implementation for tilemaps in pxt-arcade...](https://github.com/jwunderl/arcade-tilemap-a-star)**
>
> a star implementation for tilemaps in pxt-arcade ---beta

> **[GitHub - rando-muser/Neural-Networks: A MakeCode project](https://github.com/rando-muser/Neural-Networks)**
>
> A MakeCode project

---

<div class="post-metadata">

### Author: ![Vincent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vincent/32/31472_2.png) [@Vincent](https://forum.makecode.com/u/Vincent)
#### Post date: [August 10, 2026, 4:33am UTC](https://forum.makecode.com/t/racing-ai/45324/3 "2026-08-10T04:33:40Z")

</div>

Maybe use the sprite path extension or whatever its called? Never used it but I’m pretty sure you can set it to avoid certain tiles

---

<div class="post-metadata">

### Author: ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)
#### Post date: [August 10, 2026, 4:34am UTC](https://forum.makecode.com/t/racing-ai/45324/4 "2026-08-10T04:34:32Z")

</div>

You can try using a pathing extension for that.

---

<div class="post-metadata">

### Author: ![Greysalt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/greysalt/32/35195_2.png) [@Greysalt](https://forum.makecode.com/u/Greysalt)
#### Post date: [August 10, 2026, 4:38am UTC](https://forum.makecode.com/t/racing-ai/45324/5 "2026-08-10T04:38:36Z")

</div>

I will make one, Although it might take a while. Can you send me the tile map in a Makecode project.

---

<div class="post-metadata">

### Author: ![Octodemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/octodemon/32/15417_2.png) [@Octodemon](https://forum.makecode.com/u/Octodemon)
#### Post date: [August 10, 2026, 6:07pm UTC](https://forum.makecode.com/t/racing-ai/45324/6 "2026-08-10T18:07:12Z")

</div>

Hey, I have a game already made that you could look at if you need!

> [@🏎️ Floorit - by Octodemon](https://forum.makecode.com/t/floorit-by-octodemon/44045):
>
> Hey everyone, It’s Octodemon back with another game! This time it’s called.. Floorit This is my first ever time making a racing game and all the details you need to know about mechanics is already in game! I had so much fun making this and really hope I get in the top 3 for the Sports Jam. I’ll do a deep dive into my inspirations and how I coded certain things if you guys would like to know upside_down_face. But other than that I am 99% sure I am never touching this game ever aga…

It uses the same system that you’re trying to make. Feel free to look at the code and if you have any questions about the code feel free to ask!

---

<div class="post-metadata">

### Author: ![micahlikestocode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/micahlikestocode/32/33602_2.png) [@micahlikestocode](https://forum.makecode.com/u/micahlikestocode)
#### Post date: [September 3, 2026, 9:27pm UTC](https://forum.makecode.com/t/racing-ai/45324/7 "2026-09-03T21:27:43Z")

</div>

I did it!

> **[Ultimate Makecode racing](https://arcade.makecode.com/S93287-50056-99888-52465)**
>
> its time to race! choose your character, and go!
> Controls: Up to drive, left/right to turn.

It has a few bugs, but other than that, it’s really good!

---

<div class="post-metadata">

### Author: ![Carrate\_master](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/carrate_master/32/35077_2.png) [@Carrate\_master](https://forum.makecode.com/u/Carrate_master)
#### Post date: [September 3, 2026, 9:45pm UTC](https://forum.makecode.com/t/racing-ai/45324/8 "2026-09-03T21:45:48Z")

</div>

Really cool! Though Im kinda bad at it…

---

<div class="post-metadata">

### Author: ![Octodemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/octodemon/32/15417_2.png) [@Octodemon](https://forum.makecode.com/u/Octodemon)
#### Post date: [September 4, 2026, 2:28am UTC](https://forum.makecode.com/t/racing-ai/45324/9 "2026-09-04T02:28:58Z")

</div>

Really cool! I’d make the cars a lot smaller though.

---

<div class="post-metadata">

### Author: ![micahlikestocode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/micahlikestocode/32/33602_2.png) [@micahlikestocode](https://forum.makecode.com/u/micahlikestocode)
#### Post date: [September 4, 2026, 4:44pm UTC](https://forum.makecode.com/t/racing-ai/45324/10 "2026-09-04T16:44:00Z")

</div>

Yea, I might make a bigger track sometime…
