View Code? Open in Web Editor
NEW
pong v2
License: GNU General Public License v3.0
Shell 0.33%
JavaScript 2.00%
HTML 0.60%
CSS 12.22%
TypeScript 84.85%
42-transcendence's Introduction
I'm somewhat a Developer & Codam Student.
- โ๏ธ I use code daily with:
.env
, package.json
, .o
, .gitignore
, .npm install
, .git clone
- ๐ I'm not active
- ๐ฑ Learning all about HTML/CSS programming languages
- ๐ฌ Ping me about Copying the readme of harm-smits
- โก๏ธ Hobbies: Yes
![mrjvs | Github](https://camo.githubusercontent.com/8b2d1bc703a154bdd809fcb438247d736f9719628e1e5444776765b7faac2587/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f6e706d2f73696d706c652d69636f6e734076332f69636f6e732f6769746875622e737667)
42-transcendence's People
Watchers
42-transcendence's Issues
- username
- stats
- ladder level
- tournaments
- tournament wins
- achievements
- Avatar (generated by default)
- joined guild
- friends
- status (online, offline, ingame)
- match history (duels, ladders, tournaments)
- change info on account page
- create channels public/private (optionally protected by password)
- private are only accesible by code
- direct channels to friends
- blocking users, hide their messages
- channel permission:
- owner (add/change/remove password, ban, mute, set admins)
- admin (ban, mute)
- ban and mutes (on timer)
- request match through chat
- see profiles through ui
- destroy chat channels
- ban users (cannot interact with anything and thrown out of guilds/channels)
- see all chat/channels
- create special event tournaments
- update permissions for a user on a channel
- update user ranks in a guild
- permanent ladder ranking (for competitive matches)
- special event tournaments (made by admins)
- optional rewards
- (showcase rules of tournaments in ui)
- Create guilds (name must be unique)
- public or private
- invite or not (invite = you can only get in through invite or request access)
- guild tag (1-5 chars as user prefix)
- points (increased by a match win)
- ranks:
- war history
- guilds can have wars
- invite a friend to a guild
- ranking page, showcasing all guilds
Login with oauth (intra)
Saves basic information in a users
table.
routes
- GET
/api/v1/auth/login
-> creates new session (cookie)
- POST
/api/v1/auth/logout
-> removes current session (cookie)
middleware (?)
- only login through oauth (42intra)
- optional 2fa
- remove all user sessions on account page
- start and end date
- gamble points (lose these points if lost, gain all points if won)
- schedule war times
- during wartime, you can queue up a match
- if nobody answers the match request. time it out and auto win
- only one wartime match at the same time
- configurable max unanswered war times, if exceeding then auto end and win war
- terms of a war
- toggle if ladder or event tournament matches count towards war effort
- match settings
- if user duels against other guild user then add war points
- highest number of war points wins
- a guild can only be in one war at a time
- pong game
- options before start of match (toggle powerups)
- powerups
- mobile support
- responsive game screen
- realtime using websockets
- network considerations
send messages and create channels
routes
- POST
/api/v1/channels/:channel_id/messages
- GET
/api/v1/channels/:channel_id/messages
- POST
/api/v1/channels
- DELETE
/api/v1/channels/:channel_id