Skip to content

An arcade version of the snake game on old phones. Also the first thing I built with React.

Notifications You must be signed in to change notification settings

martinbagshaw/arcadeSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Status

🐍 Arcade Snake 🐍

🐍 🐍 🐍 🐍 🐍

A continuation of react-snake, worked on with the one and only Teenie Quaggard during Founders and Coders React Week.

View on Netlify >

+ Updated to use styled-components and hooks (13th October 2020)

infinity snake

What more do you need to know?

To Run:

  • git clone https://github.com/mr-bagglesworth/arcadeSnake.git
  • npm i to get all 59 million dependencies
  • npm run dev to run this

To Open: go to port 1234

What did I learn?

  • how to pass a parent's state down to child components as props
  • how to map through an array and render it
  • a little bit about asynchronicity in React, and how setState works. A lot more to learn on this one still
  • a bit more about common bugs that React developers will encounter. More useful info can be found in this FreeCodeCamp Article

snake on a plane

About

An arcade version of the snake game on old phones. Also the first thing I built with React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published