Skip to content

Megharth/Checkers

 
 

Repository files navigation

CheckersGame

Tech stack

  • Backend: Elixir, Phoenix
  • Frontend: React
  • Database: Postgres SQL

This is an implementation of Checkers game with following features such as:

  • Multiplayer Support with the help of sockets
  • Features two tables
    • One for the active games where you can join as a guest and spectate the match
    • One for the pending games where you can join as the second player. On joining, this match is moved to active games table.
  • Supports multiple concurrent games using GenServer of Elixir
  • Implements all the rules of the standard Checkers
  • Allows players as well as guests to send messages in a general chat box which is unique for every game

Note: Games remain active unless and until both players quit or the game is concluded

Dependencies

Note: These instruction are only for Debain/Ubuntu based Linux Distros

  • Install Node.js and npm
  • You will need to install erlang and elixir to run this project. This article is the easiest way to do it.
  • Install phoenix from here

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 56.2%
  • JavaScript 22.3%
  • CSS 18.8%
  • HTML 1.5%
  • Shell 1.2%