Multiplayer Checkers (Winter 2017)

Multiplayer online checkers with live chat built using CakePHP 3, WebSockets, and MySQL. This six person group project was created during Winter 2017 for CS372 at the University of Regina.

Github Repository

Project Description

An online interface that allows players to play a checkers game against each other while any user (registered and unregistered) can watch any real-time game. The players will be competing to achieve a higher personal score. Players are available to chat, spectate, create, and join lobbies.

Images

Programming Languages

Presentation layer

  • HTML and CSS (Interface layout and style)
  • JavaScript (Interface scripting, Ajax calls, WebSocket connection)

    Business Layer

  • PHP 7.0 (CakePHP web application)

    Data Access Layer

  • SQL (MySQL queries)

    Re-used Frameworks, Libraries and Programs

    Frameworks

  • CakePHP 3 (https://cakephp.org) - an open-source web, rapid development framework that makes building web applications simpler, faster and require less code. It follows the model view controller (MVC) software architectural pattern.
  • Bootstrap (http://getbootstrap.com) - a front-end framework that makes web development faster and easier.

    Open source projects

  • Checkers (https://github.com/codethejason/checkers) - an open-source checkers game written in HTML, CSS, and Javascript.

    Libraries

  • Ratchet (http://socketo.me/) - a PHP WebSocket library for serving real-time bidirectional messages between clients and server.
  • jQuery (https://jquery.com/) - a small and fast JavaScript library for HTML document traversal and manipulation, event handling, and animation with Ajax support.
  • jQuery UI (https://jqueryui.com) - a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.

    Other

  • Api-Gen (http://apigen.org) Documentation Generator