mardi 25 février 2020

Can you build a small car game with just React? [closed]

I am totally new to React, but I am told that React is now a hot new tool for building UI. However, I am also told that you can build a small game with React, even the official tutorial website teaches how to build a Tic Tac Toe game.

I am going to use React to build a small car game. The game's mechanics go like...

A small car on a road, where the road will keep moving downward, and the car stays on the road and can only move left and right controlled by the player. As the road keeps moving downward, there will be some objects coming down and the player has to dodge those objects by controlling the car. The longer you travel, the more score you will get, and the difficulty levels can be chosen by the players, where easy will means the road is moving at a slower speed, as the levels get higher, the road will move faster.

That's it, based on the mechanics I put up, is React usable to build this type of game? Thank you!




Aucun commentaire:

Enregistrer un commentaire