Building a Snake Game with React Native and TypeScript | Tutorial for beginners

preview_player
Показать описание
Learn how to build a classic Snake game using React Native and TypeScript,

👨🏻‍💻 ☕️ 🌟 Would you like to support me? Sponsor me on GitHub🌟 ☕️ 👨🏻‍💻

⭐️ If you want to learn more about me, check this links:

⭐️ My apps & projects:

Комментарии
Автор

Thank you so much! I'm making a multiplayer game. Your code helped me a lot. All the best :)

markjohn
Автор

Please more RN + TS in eng ! <3 great job Beto !

galeriakoloru
Автор

can u make a playlist on react native reanimated plz
👍 good work

vaibhavmehar
Автор

sir please make more videos on react native I found you are the best I don't have ever seen

kuberenterprises-vtgl
Автор

@Code with Beto Can you show example of the movement for with buttons? Please?

tomaspecha
Автор

const [previousDirection, setPreviousDirection] =

const currentDirection = direction;
const oppositeDirection = {
[Direction.Up]: Direction.Down,
[Direction.Down]: Direction.Up,
[Direction.Left]: Direction.Right,
[Direction.Right]: Direction.Left,
};

if (previousDirection === {
return; // Do nothing if trying to move in the opposite direction
}

You can prevent the snake from moving in the opposite direction by adding these. ✋

Автор

could you please make a card game online in react native?

mykun
Автор

Did the tutorial. the Game.tsx seems like could be modularized a little bit more, the straight code copying towards the end made me a little bit dissapointed, especially the header part, which i think is the most important(also boring, i know). Still, thanks for this!

pawekozowski
Автор

Sir plz make One huge project with firebase like Ecommerce project with admin Panel and Payment gateway plz sir with React native Expo

usmanmarkaz
Автор

I am waiting for the English version of your course. ⏲

lahirudx