Skip to content

Aklilu-Mandefro/game-app-with-react-and-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple snake game application built with React and typescript

Motivation

This game involves a snake moving inside a box. If a snake eats the fruit that is present inside the box then it increases in size and the score is increased.

If the snake collides with itelf or with the boundaries of the box, then the game is over.

Features

  • Move the snake with keys w, a, s, and d.
  • Dynamic increase in score and snake size when the fruit is consumed.
  • Build with the canvas HTML element.

Libraries

  • UI Library: React
  • Component Library: Chakra-UI
  • State Management: Redux
  • State Management Middlewares: Redux-saga

How to start

yarn
yarn run start

Preview of The Game Application

License

This project is licensed under the MIT License - see the LICENSE file for details

🙋‍♂️ Support

💙 If you like this project, give it a ⭐ and share it with friends!