How darshilthakkar/pencilplay works
Project type and purpose
• This is a full-stack, real-time web application (“PencilPlay”) implemented as a single Spring Boot service.
• Purpose: a scribble/guess game for Bollywood movie names with integrated chat, served via HTTP and WebSocket.
File structure
• Top-level “chat” module (Maven project with pom.xml, mvnw scripts, Dockerfile).
• src/main/java:
• com.darshil.chat.ChatApplication.java (Spring Boot entry point)
• com.darshil.chat.chat (ChatController, ChatMessage, MessageType)
• com.darshil.chat.config (WebSocketConfig, WebSocketEventListener)
• com.darshil.chat.game (GameState, Start, WordController)
• src/main/resources/static:
• index.html, main.css, main.js – client UI and SockJS/Stomp client logic
• No external database: state is held in-memory (GameState).
• Tests in src/test/java and build artifacts under target/.
README
• Very concise: “A Scribble game for Bollywood Movie Names.”
• Confirms real-time game + chat, no mention of additional services.