Skip to content

kapilreddy/r_place

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(r/place)

A real-time, collaborative pixel art platform inspired by Reddit's r/place, implemented in Clojure and ClojureScript.

Constraints / design choices

  • No database, delibrately not to use a database or external dependency. This will help us highlight some of the goodness Clojure has to offer.
  • Project aims to host only one global canvas.

Architecture

Backend is a HTTP-kit server which serves both HTTP and WebSockets requests.

sequenceDiagram
    participant A as "UI (Clojurescript)"
    participant B as "Backend (Clojure)"
    B-->>A: HTTP: Render UI
    B-->>A: WS: Send canvas
    B-->>A: WS: Send canvas updates
    A-->>B: WS: Send canvas update

# Dev setup - WIP


# Stream recordings
The project is built on a 'watch me code' streams hosted by clojure-camp

- [Session 1](https://www.youtube.com/watch?v=1NkrY9FWsKc)
Loading

About

A Clojure implementation of r/place

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published