Simple multiplayer browser game — word guessing battle. Think Wordle meets PvP.
  • HTML 45%
  • CSS 28%
  • JavaScript 25.9%
  • Shell 1.1%
Find a file
2026-04-29 03:09:18 +00:00
.gitea ci: simplifier le workflow de validation HTML/JS 2026-04-29 03:08:25 +00:00
css feat: battle mode, 5 themes, PWA support, clean refactor 2026-04-29 02:29:44 +00:00
js feat: battle mode, 5 themes, PWA support, clean refactor 2026-04-29 02:29:44 +00:00
index.html feat: battle mode, 5 themes, PWA support, clean refactor 2026-04-29 02:29:44 +00:00
manifest.json feat: battle mode, 5 themes, PWA support, clean refactor 2026-04-29 02:29:44 +00:00
offline.html feat: battle mode, 5 themes, PWA support, clean refactor 2026-04-29 02:29:44 +00:00
README.md feat: initial word-battle game — multiplayer word guessing battle 2026-04-24 07:43:05 +00:00

⚔️ word-battle

Multiplayer browser word-guessing battle game. Think Wordle meets PvP!

🎮 How to Play

  • Two players compete to guess the same secret word
  • Each guess gives feedback: 🟩 correct position, 🟨 wrong position, not in word
  • First to guess wins!
  • Play in real-time via WebSocket

🌴 Features

  • ⚔️ Real-time PvP word battles
  • 🎯 Classic Wordle-style feedback
  • 📊 Score tracking & win streaks
  • 🎨 Rasta color theme
  • 📱 Mobile-friendly responsive design
  • 🔊 Sound effects (optional)

📁 Project Structure

word-battle/
├── index.html          # Game UI
├── css/
│   └── style.css       # Rasta-themed styles
├── js/
│   ├── game.js         # Game logic
│   ├── socket.js       # WebSocket client
│   └── words.js        # Word dictionary
├── server/
│   └── main.go         # Game server
├── Dockerfile
├── docker-compose.yml
└── README.md

🚀 Quick Start

# Run server
go run server/main.go

# Or Docker
docker-compose up -d

🛠️ Development

go build -o word-battle server/main.go
./word-battle --port 8080

📋 Roadmap

  • Game skeleton
  • WebSocket server
  • Matchmaking system
  • Game logic (feedback, turns)
  • Score tracking
  • Rasta-themed UI
  • Mobile responsive
  • Sound effects
  • Docker production

📄 License

MIT

🌿 One Love

Built with ❤️ by the Clankeurs community.