Skip to content

Concurrent/simultaneous checkers game for up to 8 players. Built this in correspondence to https://lichess.org/simul but to play Checkers as there is no such game that exists on the WWW.

Notifications You must be signed in to change notification settings

AzyCrw4282/Concurrent-Checkers-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrent Checkers Game

Build Status version Commits to be deployed

Overview

A concurrent game that is played through WebSockets. The game is first hosted by a user who creates a room object and joining users enter the unique id to join the game. When the game reaches 2 players the first game starts and when 4 players are present then the second game starts, the same logic follows upto 4 games and thus handling 8 concurrent players. All games are played concurrently. The image below illustrates 3 games in actions.

Image Of Game Environment

Includes: 3 concurrently playable games handling 6 users. Chat system, and game status updater. See Image gallery below.

Click on Image to watch the video IMAGE ALT TEXT HERE

Features

  • Play up to 4 games involving 8 players
  • Chatbox to communicate with the whole room
  • Status updater on the moves being made
  • Matchmaking allocation when you have no one to play with :)
  • Leaderboard on active and highly performing users
  • Global chat to message with people in the lobby

Requirements

-Java 1.8

-MVN

-Spring Boot

-Lombok plugin

Then Build the app with:

Mvn clean install 

Run it with

Mvn spring-boot:run

Design/Development Implementations

  • Application with Spring Boot, MVN, JAVA 8 & WebSockets
  • Illustrates concurrency by using multi threads, locking, semaphore, sessions, concurrent Data-structures
  • Scheduled threads handle back-end operations when a request is made by the user
  • It's a stateful app, i.e. uses browser session id to allocate user after page load
  • Developed TDD test cases to check all functionalities in the game

Game Images

UI Interface

Environment In Action

All Other Functionalities (Chat system, Leaderboard)

About

Concurrent/simultaneous checkers game for up to 8 players. Built this in correspondence to https://lichess.org/simul but to play Checkers as there is no such game that exists on the WWW.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published