Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.15 KB

readme.md

File metadata and controls

61 lines (47 loc) · 1.15 KB

Sudoku.dmi

Sudoku.dmi is sudoku game built using HTML, JavaScript and Node.js

Features

  • Singleplayer mode
  • Multiplayer mode
  • Solver
  • Leaderboard

Technologies used

  • Node.js
  • Express.js
  • Bootstrap
  • jQuery
  • MySQL
  • Socket.io

Installation

Prerequisites

Sudoku.dmi requires Node.js and MySQL to run

Setup

  1. Start by cloning the repository
git clone https://github.com/UniCT-WebDevelopment/Sudoku-Multiplayer.git
cd Sudoku.dmi
  1. Install required packages
npm install
  1. Setup your mysql database data inside of database.js. It should look something like this:
const databaseData = {
    user: 'user',
    password: 'password',
    host: 'localhost',
    database: 'sudoku.dmi'
};
  1. Change the value of adminIds inside of server.js to your user id inside of the database. This will be done to access the admin page to show the website stats. It should look something like this:
const adminIds = [1];

Usage

  1. Start the server
node server.js
  1. Go to you browser and navigate to http://localhost:5050