Skip to content

A straightforward 'Guess Who?' game where the objective is to identify the user's login based on their profile picture.

License

Notifications You must be signed in to change notification settings

Haletran/Guess-the-Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess the Login

A straightforward 'Guess Who?' game where the objective is to identify the user's login based on their profile picture.
This project was developed as part of the bonus of the Inception project from 42. link to my inception

=> Try it here <=

Stack

  • Backend: Node.js with Express server
  • Frontend: Basic HTML and JavaScript
  • CSS Framework: Pico CSS for a minimalist and responsive design

Installation and Setup

To get started, clone the repository:

git clone https://github.com/Haletran/Guessthe42Login.git && cd Guessthe42Login

Dependencies:

  • nodejs
  • npm
  • express

You also need the db of all the users, I've choose to put my DB in a simple .json file.
The file should be called db.json and put into the src folder.

The formatting for the DB should be like this to make this work :

[
  {
    "image_url_medium": <profile-picture>,
    "login": <user-login>,
  },
  {
    "image_url_medium": <profile-picture>,
    "login": <user-login>,
  }
]

To install the dependencies and start the server:

npm install && node server.js

Open your web browser and navigate to http://localhost:3000 to start playing.

License

This project is licensed under the MIT License

About

A straightforward 'Guess Who?' game where the objective is to identify the user's login based on their profile picture.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published