/cah

Another Card Against Humanity fork

Primary LanguageGoMIT LicenseMIT

CAH - Card Against Humanity

Build Status Quality Gate Status Code Smells Duplicated Lines (%) Vulnerabilities Reliability Rating Go Report Card

I develop this open source game based on Cards against Humanity during COVID in order to try golang and vuejs together !

Status

  • Game working
  • Code does not have unit tests
  • I'm using setInterval for refresh views, websocket will me more efficient
  • Tables are in schema public
  • vuex is not very well implemented

Despite these behaviours, I'm pretty happy because it's working and I can play with my friends. Moreover, I learn a lot on vuejs development and golang development ...

If I give more love on this project ?

  • Use a better structure for Golang API
  • Add context logging
  • Add prometheus metrics
  • Limit the SPA scope to game part and make golang templates for lobby, home, room creation ...
  • Introduce WebSockets
  • Include unit tests and cypress
  • Give some love in the UI

Usage

Hosting

Credits

Sources for cards

License

This project is licensed under the MIT license (see LICENSE file).