Skip to content

UniCT-WebDevelopment/Sudoku-Multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published