noccer / xstate-traffic-lights

A toy app to explore XState by building a set of traffic lights at a crossroads

Home Page:https://noccer.github.io/xstate-traffic-lights/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple project to play around with XState.

Project will be based around a crossroads with traffic lights.

  • user can push the pedestrian button, user must wait until end of green wave.
  • then all traffic stops and the pedestrian lights activate, blink red then go red. Cycle begins again until pedestrian button is hit.
  • visible timer on screen

Stack notes:

  • This project was bootstrapped with Create React App.
  • Using Typescript
  • prettier
  • emotion
  • XState

About

A toy app to explore XState by building a set of traffic lights at a crossroads

https://noccer.github.io/xstate-traffic-lights/


Languages

Language:TypeScript 81.2%Language:HTML 12.3%Language:CSS 6.6%