Skip to content

pauldahacker/transcendence

Repository files navigation

transcendence - 42 project

Transcendence Home Page

A full-stack Pong game with extensive features built as the final project of 42's Common Core . Developed with Fastify (Node.js), TypeScript, Tailwind, and an SQLite-backed microservice architecture, the project combines gameplay, user management, modern web design, blockchain integration, and 3D graphics.

It includes customizable gameplay, an AI opponent, 3D visual enhancements, tournament score storage on the Avalanche blockchain, and structured log management infrastructure. Designed with scalability and modularity in mind!

Installation

Make sure you have docker and make installed on your machine. Then, clone this repository and run:

make

This will display a list of available commands. For a first run, simply run:

make up

This will create a default .env file, build the Docker images and start the containers.

Once compilation is done, visit https://localhost

Features

Customizable Gameplay

Customizable Gameplay

AI Opponent

AI Gameplay

3D Graphics

AI 3D Gameplay

Tournament scores stored in Avalanche blockchain

Avalanche Blockchain

Log management

Log Management

About

If you don't have a clue how anything works, this very simple pong game gives a good idea of the basic stuff:

https://www.geeksforgeeks.org/javascript/pong-game-in-javascript/

Code is written in TypeScript. Browser only understands JavaScript, so the TypeScript code is compiled to JavaScript thanks to Docker.

HTML page styled with Tailwind CSS allows to introduce the different pages & elements of the website. No need to open/edit a separate stylesheet, styles are consistent across components and easy to prototype and keep the UI responsive.

The drawing and physics of the pong game on a canvas is also done with TypeScript (pong.ts)

Using Docker, we can build a Docker Image with nginx and all the frontend files copied inside.

Useful resources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •