pilesno.blogg.se

Star wars guess who
Star wars guess who











star wars guess who

Since the avatars are a crucial part of the game, those were included within the assets folder. The original idea was to use google's json custom search api for finding the images, but the process of making the search for the perfect image for every character was painful and inaccurate. Also the star wars api () was consumed to get characters, and its information. Google Search API was consumed to get the character images for the game. RoutesĪlthough there is really only a single important route, which is the main page react-router was used anyway because of the intro screen, which has a start button for the game. The tree height is really short, so there is no pain in passing props down to the leaves components and thus redux was not needed.

star wars guess who

Most part of the application state is stored in the Main component, and each change in the state gets passed down to its children. Bellow is the components schema for this app, and a little description of what each component do: I tried to make the best use possible of components. If the player request tips about the persona, it will get only 5pts. For each unassisted guess the player gets 10pts. Close the doors on characters that the answers to your questions rule out. Game challenges you to guess your opponents character first. Characters are all from the Star Wars epic. It shows star wars characters photos, and the player have to guess the name of each character. Star Wars Guess Who game is mystery-solving guessing fun. This project is a sample quiz-like little game, written using react, react-router, bootstrap, html, and css.













Star wars guess who