Skip to content

An app using Websockets via ActionCable in a vanilla Javascript front end, and a Rails API for the backend. I designed the app to increase engagement in my cohort, and have a game that anyone could access from any device to play together.

Notifications You must be signed in to change notification settings

Nroulston/ActionCableCohortGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cohort Game Time

Welcome to Cohort Game Time a simple drinking game designed to use Websockets for real time communication between clients. You can change the kind of cards to just trivia by working with the cards class's in the front end.

Prerequisites

*You have installed the following -Ruby 2.6.1 -Ruby on Rails 6.0.3.2 -Webpack 4.44.2 -actioncable npm package

Blog

Install instructions for the different packages can be found in my tutorial for how to get actioncable up and running in a vanilla javascript front end.

https://nroulston.github.io/want_your_rails_api_to_be_multiplayer_lets_talk_actioncable

Installing Cohort Game Time

Fork and clone to your local machine.

Run Bundle install to install all gem dependencies.

Run Rails db:migrate to start your database

Run Rails S in the the CohortGameAPI directory

Run open dist/index.html in the CohortGameFrontEnd directory

Contact

If you want to contact me you can reach me at nicolas.roulston@gmail.com

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nroulston/brew_tracker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Test project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

An app using Websockets via ActionCable in a vanilla Javascript front end, and a Rails API for the backend. I designed the app to increase engagement in my cohort, and have a game that anyone could access from any device to play together.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published