Skip to content

VivinrajSundararaj/mancala-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mancala_game

Mancala board game created using angular.js, spring boot and mysql for data persistence

Tools & Technology Used

Front End:

  • AngularJS

Back End:

  • Java 1.8
  • Spring Boot
  • MySQL 8.0

Pre-requisites

MYSQL Database should be installed and configured as below

Setup db:

create database mancala_game;
create user 'mancala'@'localhost' identified by 'mancala';
grant all privileges on mancala_game.* to 'mancala'@'localhost';

HOW TO RUN

Spring boot startup will add 2 players (vivin & sundar used for demo) into database.

To run application:

mvn spring-boot:run(or you can run via Spring Tool Suite or Intellij IDE) or 
java -jar target/mancala-game-bol-0.0.1-SNAPSHOT.jar

To run the test cases:

mvn test

Login to web application with the first player

localhost:8080
login: vivin
password: vivin	

Once logged in, start with the game and login with second player

localhost:8080
login: sundar
password: sundar

Now we can go ahead to play the game and once the game is over, the winner will be displayed!

About

mancala game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published