Code Monkey home page Code Monkey logo

project-labyrinth's Introduction

Project Labyrinth

A React/Redux Labyrinth game, where the player follows a history and chooses a path until the end of the labyrinth. This project was made by pair-programming.

Features

  • Use of different React components
  • Use of Redux and Redux toolkit
  • Asynchronous API calls using thunks
  • Use of hooks: useSelector, useDispatch, useState
  • POST request with information on the body
  • Responsive styling
  • Styled components

Production Process

  • We started by planning the projects and it’s components / screens.
  • We made thunks for the asynchronous functions, such as the API post request to display the game steps and the loading component. There’s also local storage to store the player’s position on the game.
  • We used conditional rendering to be able to show different screens based on the game conditions.
  • We created a final page that display the players choice history for the whole game. giThere’s also a restart button that reloads the game and empty the username field.

View it live

https://zancotti-santos-the-labyrinth.netlify.app

project-labyrinth's People

Contributors

emolsz avatar zancotti avatar dependabot[bot] avatar puj avatar jenniedalgren avatar

Forkers

brunsant

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.