Skip to content

paramt/coderacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coderacer

Approach

  • React/Typescript in the frontend with Tailwind CSS
    • AceEditor for code editing
  • FastAPI Python server for the backend
  • WebSockets for real time communication between frontend and backend

Features

  • recieve feedback for each individual test case (private test values are hidden)
  • basic error checking (e.g. rejects more than 2 players per room, can't have same name as opponent)
  • responsive design

Run locally

cd frontend
npm install
npm start
cd backend
pip install -r requirements.txt
python main.py
  • configure TOTAL_TIME in ./backend/config.py

Todo if I had more time

  • cleanly handle player disconnects (inform other player)
  • UI for restarting new game
  • dark mode
  • dockerize

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors