Go to file
2024-04-23 15:41:18 +02:00
accounts add(settings): account deletion 2024-03-20 10:27:02 +01:00
chat profiles: rearranged models 2024-04-16 13:24:34 +02:00
frontend tournament: add: goto 2024-04-22 17:32:26 +02:00
games tournament: add: game call func when finished 2024-04-23 15:41:18 +02:00
matchmaking core: fix: matchmaking and game 2024-04-22 11:37:08 +02:00
profiles profiles: friend requests 2024-04-18 11:40:42 +02:00
tournament tournament: add: game call func when finished 2024-04-23 15:41:18 +02:00
transcendence core: fix: matchmaking and game 2024-04-22 11:37:08 +02:00
.gitignore fixed .gitignore 2024-02-09 17:13:28 +01:00
.jshintrc clean: respect es11 2024-02-20 09:22:11 +01:00
manage.py rename the project 2023-12-23 18:12:13 +01:00
README.md add package in the readme for coc-nvim 2024-04-16 08:49:45 +02:00
requirements.txt update: requirement 2023-12-13 13:01:51 +01:00
run.sh translations: added compilemessages cmd in run script 2024-02-02 10:30:16 +01:00
subject.pdf add: update readme 2024-02-22 22:28:54 +01:00

FT_TRANSCENDENCE

Purpose

This project is part of the 42 School Common Core curriculum. Its purpose is to learn how websites function by creating one to play the Pong game.

Skills Acquired

  • Django
  • JavaScript
  • Rest API
  • Python
  • HTML
  • CSS

Subject

Modules

Module Nb point state
Multiplayer 2 🏁
Remote 2 🏁
Bootstrap 1 🏁
Django 2 🏁
Bdd 1 🚧
Accounts 2 🏁
WebGL 2 🏁
Other game 2 🚧
Chat 2 🏁
Translation 1 🚧
Other browser 1 🏁
Smartphone support 1 🚧
--- --- ---
Ready 10 🏁
Total 19 🚧

Installation

Automated

Just run the following :

chmod +x ./run.sh
./run.sh

Manual

  • Clone the project:
git clone https://git.chauvet.pro/michel/ft_transcendence
cd ft_transcendence
  • Create python virtual environnement.
python3 -m venv .env
  • Source the environnement.
source .env/bin/activate
  • Install the requirements
pip install -r requirements.txt
  • Setup database
python manage.py makemigrations games
python manage.py makemigrations profiles
python manage.py makemigrations chat
python manage.py makemigrations tournament
python manage.py migrate
  • Compile translations
python manage.py compilemessages
  • Start the developpement server
python manage.py runserver 0.0.0.0:8000

coc nvim

pip install django-stubs
pip install django-type