Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.58 KB

README.md

File metadata and controls

59 lines (45 loc) · 1.58 KB

42-Transcendence

📝 Description

This project is about doing something you’ve never done before. Remind yourself the beginning of your journey in computer science. Look at you now. Time to shine!

📦 Stack

🚧 Infra

Infrastructure

🤔 What you can do?

  • Create an account;
  • Login with a created account;
  • Login using Intra42;
  • See your stats;
  • See your match history;
  • Add friends;
  • See your friends stats;
  • Update username;
  • Upload a profile picture;
  • Play pong against one user;
  • Play pong against a bot;
  • Play jan-ken-pon against one user;
  • Play jan-ken-pon against the luck;
  • Play a pong/jan-ken-pon tournament with 4 players;

🛠️ How to build for development?

First you will need Docker and Docker Compose, Python 3.10+, Postgres and make.
You will need a .env file and an Intra42 registred API.

DJANGO_DEBUG=False

SQL_DATABASE=your_database_name
SQL_USER=your_database_user
SQL_PASSWORD=your_database_password
SQL_HOST=your_database_hostname
SQL_PORT=your_database_port

INTRA_UID=your_intra_public_key
INTRA_SECRET=your_intra_secret_key
INTRA_LINK=your_intra_Oauth_link
INTRA_REDIR="https://your_LAN_ip:5000/auth/intra"
MY_IP=your_LAN_ip

After you have everything just run make.