/red_tetris

Primary LanguageJavaScript

Red Tetris

presentation ft_linear_regression

Demo

https://red-tetris-woolimi.koyeb.app/

Overview

Everyone says they know Javascript, but very few people have a really precise knowledge of this multi-faceted language which is at the same time partially functional, completely prototype oriented, of a diabolically dynamic type, passionately asynchronous and frighteningly efficient.

Red Tetris is a école 42 project to create multiplayer tetris game using full-stack JavaScript. This project lets you discover the fast-changing javascript ecosystem. You can freely choose any recent library, framework, etc., but it has the following limitations.

The client side code must be written in functionnal proramming style, whereas the server side code must be written in object-oriented programming style.

Unit tests must cover at least 70% of the statements, functions, lines and at least 50% of branches

Used stacks

  • NodeJs (server)
  • React (client)
  • socket.io
  • Jest (unit test) & React-testing-library
  • webpack

How to play in local

> git clone https://github.com/woolimi/red_tetris.git
> cd red_tetris
> npm run dev:build
> npm run start

Test coverage

> npm run coverage