Skip to content

Multiplayer Tetris game web application. 42 school project.

Notifications You must be signed in to change notification settings

dlaurent42/red-tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RED TETRIS

Final Mark: 125 / 125 (5 outstanding project)

Introduction by 42 School

Everyone knows the Tetris Game and everyone knows Javascript, it only remains to build a Tetris in Javascript.

Yes, but ...

The Tetris will be multiplayer and online. It will allow you to disturb intergalactic parties during your long coding nights (There are still some WIFI issues on some planets).

The Tetris will use the latest technologies Javascript which are at the heart of a great intellectual, industrial and financial battle between Facebook and Google whose challenge is to be the master of the world.

The Tetris will require a lot of brain juice to design the architecture, specify an asynchronous network protocol, implemented in functional programming, create an algorithm of pieces’ animation and display everything graphically in HTML!

Good game, good code ...

Objectives

The goal of this project is to develop a multiplayer tetris game on the network with a set of software exclusively from Full Stack Javascript.

Front-end has been developed using latest features from ReactJS. State is managed using React Hooks except for sockets and user information for which Redux has been used. Front-end communicates with socket server to handle tetris games and with API to handle user information.

API has been developed using NodeJS and Express. It permits to manage users whom information are stored in MongoDB. Securization of API is done through cors and a middleware checking an auth string.

Socket server has been developed using NodeJS, Express and SocketIO.

Skills

  • Object-oriented programming
  • Web
  • Functional programming
  • Technology integration

Previews

Homepage

homepage screenshot

Registration

registration screenshot

In Game

in game screenshot